v-button
The v-button
component is used for all buttons in the application. It supports text buttons, text buttons with an icon, and icon buttons.
Usage
Import ButtonModule
from @valtimo/user-interface
in the module which includes your component. Use v-button
in your component template code:
sample.component.html
sample.component.html
Inputs
Property | Type | Required | Default | Description |
---|---|---|---|---|
|
| no |
| The type of the button displayed. Types with |
Paragraph | Text |
'primary'
|'secondary'
|'success'
|'text'
|'icon-danger'
|'danger'
|'icon-grey'
|'icon-danger-small'
|'icon-grey-small'
Last updated