This is a flexible content overflow component, using bemto-components and styled-components.
The documentation for the bemto-overflower is available as a section of bemto-components' docs. You could see there all the features of bemto-overflower and play with them right in your browser in an interactive playgrounds.
Note: bemto-overflower
uses styled-components as a peer dependency, as its bad to include more than one instance of styled-components in your app, so you need to have it installed as well.
In your console:
npm install --save bemto-overflower
Then in .js
-files of your components:
import Overflower from 'bemto-overflower';
Licensed under the MIT License, Copyright © 2017 Roman Komarov.
See LICENSE for more information.