Skip to content
Render React children with a separator
Branch: master
Clone or download
sapegin Changelog: 🚀
## Breaking changes

* Remove the wrapper tag (`div` or `span`), return an array instead
* No support for React lower than 16
* No `as` and `className` props

## Bug fixes

* Fix filtering of falsy elements
Latest commit 13dbc3a Feb 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig
.eslintignore
.eslintrc.json
.gitignore
.prettierrc
.travis.yml
Contributing.md
License.md
Readme.md
examples.md
index.js
package-lock.json
package.json
styleguide.config.js
test.js

Readme.md

React Group

npm Build Status

React component to render a collection of items separated by space or other separator.

Installation

npm install --save react-group

Examples

<Group>
  <button>One</button>
  <button>Two</button>
  <button>Three</button>
</Group>

Will render three space-separated buttons. See more examples.

Change log

The change log can be found on the Releases page.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Author and license

Artem Sapegin.

MIT License, see the included License.md file.

You can’t perform that action at this time.