Made with create-storybook-react-library
This is a component for react.
- Easy-to-use
- Typescript Support
- Storybook UI component
npm install --save epub-ruler
import React, { Component } from 'react'
import MyComponent from 'epub-ruler'
import 'epub-ruler/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
For Details: See Example
First install dependencies and then install peerDeps for storybook dev:
npm install
npm run install-peers
To run Example in hot module reloading mode:
npm start # or npm run storybook
To create a bundle library module build:
npm run build
To run unit tests:
npm test
MIT © 21epub