react-listable

A collection of react components that iterates over the each prop and renders the render prop.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-listable
701.0.65 years ago5 years agoMinified + gzip package size for react-listable in KB

Readme

react-listable
A collection of react components that iterates over the each prop and renders the render prop. Demo

Overview

```jsx
const users = { name: 'Victor 😎', age: 10 }

{ name }, { age }

}/>
## Installation

You can use npm/yarn to install

```bash
npm install react-listable

Documentation

For

```jsx
loading
} render={
({ name, age }) => <p>{ name }, { age }</p>
}/>
## Ul

```jsx 
<Ul 
  className="list"
  each={state.users} 
  setActive={({ name }) => name === 'Maria 🙍'}
  render={
    ({ name, age }) => <p>{ name }, { age }</p>
  }/>

Ol

```jsx
    ({ name, age }) => <p>{ name }, { age }</p> }/>
    ```
    See the full documentation and live examples at https://victorvoid.me/react-listable

    License

    The code is available under the MIT License.