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

https://github.com/fabiosantoscode/component-story-collection

Displays a set of stories around a bigger story.
https://github.com/fabiosantoscode/component-story-collection

Last synced: 3 months ago
JSON representation

Displays a set of stories around a bigger story.

Awesome Lists containing this project

README

          

# Storycollection
> Displays a story collection

## Usage

**This component expects an ES6 environment**, and so if you are using this in an app,
you should drop in a polyfill library - it has been tested with [babel-polyfill] but
[core-js] or [es6-shim] may also work.

[babel-polyfill]: https://babeljs.io/docs/usage/polyfill/
[core-js]: https://www.npmjs.com/package/core-js
[es6-shim]: https://www.npmjs.com/package/es6-shim

The default export is a React Component, so you can simply import the component and use
it within some JSX, like so:

```js
import Storycollection from 'component-story-collection';

return ;
```

For more examples on usage, see [`src/example.es6`](./src/example.es6).

## Install

```bash
npm i -S component-story-collection
```

## Run tests

```bash
npm test
```