Skip to content

bogdanbiv/TokenFilter

Repository files navigation

TokenFilter

Getting started

Install dependencies

(
  export PKG=token-filters;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)

Include component & CSS

import TokenFilter from 'token-filter';

Using Webpack with CSS loader, add the following import to your app:

import 'token-filter/styles.js';

CLI commands for development

  # launch a storybook session with token filters
  yarn run storybook

  # build the component using a rollup script
  yarn run build

  # Run flow types
  yarn run test:flow

  # Run eslint checker
  yarn run lint

  # check package.json scripts section for more
  cat package.json

About

Rewrite of React Structured Filter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •