0.1.2 • Published 3 years ago
@flexcodelabs/list v0.1.2
@flexcodelabs/list
Features
- Can handle list items
- Can handle list items with a child component
Installation
npm install @flexcodelabs/list
or
yarn add @flexcodelabs/list
Usage
import List from '@flexcodelabs/list'
;<List items={[]} />Examples
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| items | (string or itemObject)[] | None | false | ItemObject expects two properties: item of type string and child of type ReactNode |