React
Is new design vision part implemented using new tokens?
React
Is new design vision part implemented using new tokens?
import { IconList, IconName } from '@optimus-web/core';
<IconList
items=[
{
key: 'firstItem',
icon: IconName.Time,
label: 'Fist item label',
description: 'First item description',
variant: 'primary',
},
{
key: 'secondItem',
icon: IconName.ActionLog,
label: 'Second item label',
description: 'Second item description',
variant: 'basic',
},
],
/>
Name |
Description |
Type |
Default |
---|---|---|---|
compact? |
Determines whether the IconList should be displayed in a compact mode |
boolean? |
false |
items? |
An array of items to be rendered in the IconList |
IconListItemProps[] |
|
small? |
Determines whether the IconList should be displayed in a small size |
boolean? |
false |