rButton
A reusable button component, which can act like button or link.
Props
Name | Type | Default | Required | Description |
---|---|---|---|---|
href | String | '' | ❌ | Link |
isLoading | Boolean | false | ❌ | Whether to show spinner in button |
Slots
Name | Description |
---|---|
default | Button content |
Code Snippets
As button
vue
<RButton>Iam button</RButton>
As link
vue
<RButton href="#">Iam link</RButton>