@navinc/base-react-components
Version:
Nav's Pattern Library
27 lines (21 loc) • 680 B
Markdown
# Icon List
## Usage:
Used for lists with an icon as the bullet.
Important Note: The `data` prop needs to be an array of objects with the keys
`icon`, `boldCopy` and `copy`. Note: it is optional to have both `boldCopy` and
`copy` defined.
Example:
```
[
{
icon: 'https://dxkdvuv3hanyu.cloudfront.net/design-assets/icons/credit-sweeper_72x72.svg',
boldCopy: 'Bacon',
copy: 'Spicy jalapeno chicken strip steak jerky turkey burgdoggen leberkas.'
},
{
icon: 'https://dxkdvuv3hanyu.cloudfront.net/design-assets/icons/credit-sweeper_72x72.svg',
boldCopy: 'Bacon',
copy: 'Spicy jalapeno chicken strip steak jerky turkey burgdoggen leberkas.'
}
]
```