This package is deprecated, and is only provided for backwards-compatibility.
npm install @brighthr/component-iconThis package is deprecated, and is only provided for backwards-compatibility.
``javascript
import { CalendarInfoIcon } from '@brighthr/icons';
`
`javascript`
import Icon from '@brighthr/component-icon';
After adding import into your project you can use it simply like:
`jsx`Props
| Name | Type | Default | Description |
|----------|------------------------------------------------------|----------|----------------------------|
| iconName | 'iconName' | | Sets the icon to display. |'xxs'
| size | 'xs' 'sm' 'base' 'lg' 'xl' 'xxl' | 'base'` | Sets the size of the icon. |