@21epub/epub-ruler
v0.0.3
Published
> Made with create-storybook-react-library
Downloads
3
Readme
epub-ruler
Made with create-storybook-react-library
Intro
This is a component for react.
Feature
- [x] Easy-to-use
- [x] Typescript Support
- [x] Storybook UI component
Install
npm install --save epub-ruler
Usage
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
Developing and running on localhost
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
Testing
To run unit tests:
npm test
License
MIT © 21epub