import { DaffFlatButtonComponent } from '@daffodil/design/button'
DaffFlatButtonComponent is a rectangular contained button no background.
@Component()
class DaffFlatButtonComponent {
@Input() status: DaffStatus
@Input() color: DaffPalette
@Input() tabindex: number = 0
@Input() disabled: any
}
DaffStatus
Default | – |
---|---|
Description | Sets the status on a component. Options are: |
DaffPalette
Default | – |
---|---|
Description | Sets the color on a component. Default options are: |
number
Default | 0 |
---|---|
Description | Sets the tabindex. |
any
Default | – |
---|---|
Description | The disabled state of the button. |
<button daff-flat-button>
<div daffPrefix></div>
Flat Button
<div daffSuffix></div>
</button>
<a href="/" daff-flat-button>
<div daffPrefix></div>
Linked flat button
<div daffSuffix></div>
</a>
<button daff-flat-button>
<div daffPrefix></div>
Flat Button
<div daffSuffix></div>
</button>
<a href="/" daff-flat-button>
<div daffPrefix></div>
Linked flat button
<div daffSuffix></div>
</a>