mirror of https://github.com/Chocobozzz/PeerTube
13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
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
|
|
}
|