aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-tables/table-expander-icon.component.ts
blob: 66bbfe6fbdc687421a047e8357fd23f555811970 (plain) (tree)
1
2
3
4
5
6
7





                                                
                                                                   




                                         
import { Component, Input } from '@angular/core'

@Component({
  selector: 'my-table-expander-icon',
  template: `
<span class="expander">
    <i [ngClass]="expanded ? 'chevron-down' : 'chevron-right'"></i>
</span>`
})
export class TableExpanderIconComponent {
  @Input() expanded: boolean
}