Icons is a wrapper around svg icons we would commonly use in Bridge. You choose the type of Icon to display via the type
prop. If not given, it defaults to `infoAlert1.
Alert Icons
These icons may be used in conjuction with Alert
.
Form Icons
Icons used with forms.
Custom Icons
You can put in your custom svg paths as <Icon>
's child.
Common Props
Button
includes COMMON
props. Read Common Props for details and API. These common props will override component props such as the color. Any svg props also applies to Icon
.
Component Props
Prop name | Type | Default | Description |
---|---|---|---|
type | String | 'infoAlert' | color variant (errorAlert | infoAlert | successAlert | warningAlert | fileDragDrop | formErrorAlert | opacityUploadFile | uploadFile ) |
theme | Object | Bridge Theme | use to override default bridge theme |