- An internal component library used for Adheretech React projects.
- To use components in this repository in other applications, please follow these steps:
- Install the npm package:
npm install adheretech-components
- Import the stylesheet into the top level
index.js
file:import '../node_modules/adheretech-components/dist/index.scss'
- Import any component from the library into the file of your choice:
import { Button } from 'adheretech-components'
- Install the npm package:
In the project directory, you can run:
Opens up Storybook on http://localhost:9009 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app's dist/ folder which includes components/ and scss/ to be exposed when publishing to NPM.
Publishes the application to NPM
Output a static Storybook in the storybook-static directory.