Props
| Name | Type | Default | Description |
|---|---|---|---|
iconrequired | string | - | Name of a registered icon to use, or a full raw Three forms: |
label | string | undefined | - | Label of the icon for accessibility. Set it only when the icon is the only thing carrying the information. Beside its own text an icon should stay unlabelled, so assistive tech does not announce the same fact twice. It produces no |
pt | PtMap<"root", never> | undefined | - | Passthrough, object form: |
pt:root | PtValue | undefined | - | |
size | number | ({ size?: any; } & string) | keyof Sizes | undefined | "md" | Defines the component size.
Accepted values:
- A key from the provided size map ( The named keys come from the scale |
Changes from v2
Props removed or renamed in 3.0. If you are coming from v2, the answer is here.
colorremovedfails silentlytypeiconfails silently