CaIconAndText
Used to place a text together with an icon
SASS-path: ./styles/components/atoms/ca-icon-and-text.scss
Props
Name | Description | Type | Required | Default |
---|---|---|---|---|
iconName | The icon name. See documentation for CaIcon to learn more. | String | true | - |
iconPosition | The position of the icon | 'left', 'right', 'top' | false | left |
baseElement | The element it should be rendered as | String | false | span |
Slots
Name | Description | Default Slot Content |
---|---|---|
default | Text content | - |