Factorial One

one.factorial.dev
Usage
In your react project:
$ npm install git+https://github.com/factorialco/factorial-one
Then, in your react files:
import "@factorialco/factorial-one/dist/styles.css"
import "@factorialco/factorial-one/dist/fonts.js"
import { Button } from "@factorialco/factorial-one"
And that's it!
Development
Install nodejs
The recommended approach is to use the asdf
dependency manager. On MacOS +
Homebrew:
$ brew install asdf
$ echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${
Then open a new terminal:
$ asdf plugin add nodejs
Then, cd
into the project's directory and:
$ asdf install
This should leave you with a fully working nodejs version.
Start the project
First, install the dependencies:
$ npm install
Then run the storybook server:
$ npm start