- Can handle list items
- Can handle list items with a child component
npm install @flexcodelabs/list
or
yarn add @flexcodelabs/list
import List from '@flexcodelabs/list'
;<List items={[]} />
Name | Type | Default | Required | Description |
---|---|---|---|---|
items | (string or itemObject)[] |
None |
false | ItemObject expects two properties: item of type string and child of type ReactNode |