Chip
Uso
<cat-toolbar [config]="getToolbarInfo()">
<nav buttons>
<cat-chip class="mr-5" color="success">Success</cat-chip>
<cat-chip class="mr-5" color="warning">Warning</cat-chip>
<cat-chip class="mr-5" color="danger">Danger</cat-chip>
<cat-chip class="mr-5" color="info">Info</cat-chip>
<cat-chip class="mr-5" color="primary">Primary</cat-chip>
<cat-chip class="mr-5" color="secondary">Secondary</cat-chip>
<cat-dynamic-component [component]="chipWithDynamicComponent"></cat-dynamic-component>
</nav>
</cat-toolbar>import { Component } from '@angular/core';
import { CatComponentBase } from '@catrx/ui/common';
import { CatChip } from '@catrx/ui/chip';
@Component({
templateUrl: './page-chip.component.html',
})
export class PageChipComponent extends CatComponentBase {
chipWithDynamicComponent = new CatChip('Componente Dinâmico', 'success');
}Overview
Last updated