Button components
Button#
The Button component renders a button.
- Component - simple
- Component - advanced
Props#
| Prop | Description |
|---|---|
| Renders content of the component. |
| A class name that is applied to the component. |
| undefined | boolean If true, the component has loading state. |
Persist button#
The PersistButton component renders a persist button.
- Component - simple
- Component - advanced
Props#
| Prop | Description |
|---|---|
| Renders content of the component. |
Anchor button#
The AnchorButton component renders an anchor button.
Props#
| Prop | Description |
|---|---|
| undefined | string The link to which the user is redirected when the button is clicked. |
| Renders content of the component. |
Page link button#
Props#
| Prop | Description |
|---|---|
| undefined | string The route to which the user is redirected when the button is clicked. |
| Renders content of the component. |
Clear field button#
Props#
| Prop | Description |
|---|---|
| string The name of the field to be cleared on click. Required |
| ReactNode The label for the field. Required |
Delete entity button#
The DeleteEntityButton component renders a button, which deletes closesed entity.
Props#
| Prop | Description |
|---|---|
| Renders content of the component. |