Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flexcodelabs/flexcodelabs-list
React list component for Flexcode Labs
https://github.com/flexcodelabs/flexcodelabs-list
Last synced: 3 days ago
JSON representation
React list component for Flexcode Labs
- Host: GitHub
- URL: https://github.com/flexcodelabs/flexcodelabs-list
- Owner: flexcodelabs
- Created: 2022-07-30T15:06:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T04:29:41.000Z (over 2 years ago)
- Last Synced: 2023-03-11T18:46:16.335Z (almost 2 years ago)
- Language: HTML
- Homepage:
- Size: 296 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @flexcodelabs/list
[![npm](https://img.shields.io/npm/v/@flexcodelabs/list)](https://www.npmjs.com/package/@flexcodelabs/list) [![NPM](https://img.shields.io/npm/l/@flexcodelabs/list)](https://www.npmjs.com/package/@flexcodelabs/list)
[List](#@flexcodelabs/list)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [Props](#props)## Features
- Can handle list items
- Can handle list items with a child component## Installation
`npm install @flexcodelabs/list`
or
`yarn add @flexcodelabs/list`
## Usage
```jsx
import List from '@flexcodelabs/list'
;
```## Examples
[Source code](https://github.com/flexcodelabs/flexcode-list)
[Demo](${demo_link})## 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 |