Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.15 KB

@flexcodelabs/list

npm NPM

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

Source code
Demo

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