Icon
The Icon component displays an SVG icon as a React Component with a given icon name and size.
Examples
<Icon size="small" name="placeholder" />
Props
| Name | Type | Default Value | Required | Description |
|---|---|---|---|---|
size | "small" | "medium" | "large" | IconSize | "xlarge" | "xxlarge" | IconSize.Medium | No | How large should the icon be? |
Enums
IconSize
| Key | Value |
|---|---|
Small | "small" |
Medium | "medium" |
Large | "large" |
XLarge | "xlarge" |
XXLarge | "xxlarge" |