Package Exports
- flexbox-react
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flexbox-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Not ready yet. Stay tuned!
flexbox-react
Unopinionated, standard compilant flexbox components. You don't need to learn any propietary syntax, classnames or API's. If you know how to use flexbox, you know how to use flexbox-react components.
No hardcoded/unnecesary vendor prefixes, by autoprefixer.
No need to import any new stylesheet or to add any styles to your existing stylesheets. It works out of the box, just by using the component.
Install
npm install --save flexbox-reactUsage
import { Flexbox, FlexItem } from "flexbox-react";
//...
<Flexbox flexDirection="row">
<FlexItem alignSelf="flex-start">
<h1>Hi!</h1>
</FlexItem>
</Flexbox>