GitHub

DaffTabLabelComponent

DaffTabLabelComponent is used to display the label of a tab panel. Labels may optionally contain a daffPrefix or daffSuffix to add icons or badges.

import { DaffTabLabelComponent } from '@daffodil/design/tabs'
@Component()
class DaffTabLabelComponent implements DaffPrefixable, DaffSuffixable {}
Selector: 'daff-tab-label'

Examples

Basic structure of tab label

<daff-tab-label>
 <div daffPrefix></div>
 Label
 <div daffSuffix></div
</daff-tab-Label>