Preview
Usage
Btn usage<Btn variant="primary" type="submit">Record deploy</Btn>API
Btn APIBtnProps
| prop | type | notes |
|---|---|---|
| children? | RemixNode | |
| variant? | BtnVariant | |
| size? | BtnSize | |
| type? | 'button' | 'submit' | 'reset' | |
| disabled? | boolean | |
| name? | string | |
| value? | string | |
| form? | string | |
| formAction? | string | |
| formEncType? | string | |
| formMethod? | string | |
| formNoValidate? | boolean | |
| formTarget? | string | |
| title? | string | |
| ariaLabel? | string | |
| pending? | boolean | Externally controlled submission state. Disables the button and sets aria-busy. |
| pendingLabel? | RemixNode | Visible replacement while pending; defaults to the original children. |
| mix? | MixInput |