react-fs-components

0.0.6 • Public • Published

react-fs-components

npm GitHub

This repo contains components for react I'm using in many of my projects lately. They are styled via SASS so there is a chance to customize them.

Install

yarn add react-fs-components

or

npm install react-fs-components --save

After that, you can import the components into your project. example (tooltip component):

import { FS_Tooltip } from 'react-fs-components'

To have styled components you have to include the mixins from the sass directory into your sass file.

To include all available style rules (from index.scss):

@include fs-components('.fs--'); // .fs-- : prefix for all style rules 

But you can also include styles just for the components you need. But be sure to that you also have to import the config file and the utils files needed then.

@import 'sass/_utils/flexbox.scss';
@import 'sass/config.scss';
 
@include fs-components--action-btns('.fs--');

Available Components

See props for each component in the file it is defined in.

Contributing

Feel free to contribute more useful components or to make existing components even better.

Guidelines on contributing: see here

License

This repo is licensed under the MIT License.

Package Sidebar

Install

npm i react-fs-components

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

2.24 MB

Total Files

26

Last publish

Collaborators

  • florianstahr