Icon
's component main purpose is to render icons defined in ThemeProvider
's icons
section.
It's being used internally in other falcon-ui
components such as Checkbox
to render default icons
with option to overrride them using ThemeProvider
.
Property | Type | Required | Default | Description |
---|---|---|---|---|
src | string | - | string that needs to match one of the keys in | |
fallback | ReactNode | - | fallback component to render when there is no icon defined for given |
Icon
component accepts also all of the responsive, theme-based style props.