import { DaffUnderlineButtonComponent } from '@daffodil/design/button'
DaffUnderlineButtonComponent is a borderless button with a custom underline style.
@Component()
class DaffUnderlineButtonComponent {
@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-underline-button>
<div daffPrefix></div>
Underline Button
<div daffSuffix></div>
</button>
<a href="/" daff-underline-button>
<div daffPrefix></div>
Linked underline button
<div daffSuffix></div>
</a>
<button daff-underline-button>
<div daffPrefix></div>
Underline Button
<div daffSuffix></div>
</button>
<a href="/" daff-underline-button>
<div daffPrefix></div>
Linked underline button
<div daffSuffix></div>
</a>