aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-tables/table-expander-icon.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-tables/table-expander-icon.component.ts')
-rw-r--r--client/src/app/shared/shared-tables/table-expander-icon.component.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-tables/table-expander-icon.component.ts b/client/src/app/shared/shared-tables/table-expander-icon.component.ts
new file mode 100644
index 000000000..3756b475a
--- /dev/null
+++ b/client/src/app/shared/shared-tables/table-expander-icon.component.ts
@@ -0,0 +1,12 @@
1import { Component, Input } from '@angular/core'
2
3@Component({
4 selector: 'my-table-expander-icon',
5 template: `
6<span class="expander">
7 <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i>
8</span>`
9})
10export class TableExpanderIconComponent {
11 @Input() expanded: boolean
12}