Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 |