Ap-IconButton
Button is an extension to standard input element with icons and theming.
Example
Default
ts
<ApButton icon="ap-icon ap-plus" label="Nouvelle publication" />
Secondary
ts
<ApButton label="Retour" variant="secondary"/>
Disable
ts
<ApButton label="Confirmer" variant="disable"/>
Ghost
ts
<ApButton label="Confirmer" variant="ghost"/>
Props
Name | Type | Default | Required |
---|---|---|---|
icon | string | null | false |
label | string | null | true |
variant | default secondary disable ghost secondary | default | false |