JSPM

react-fs-components

0.0.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29668F
  • License MIT

react components i use quite often in my projects

Package Exports

  • react-fs-components

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 (react-fs-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.