Made with create-storybook-react-library
This is a component for react.
- Easy-to-use
- Typescript Support
- Storybook UI component
npm install --save @21epub/epub-form-components
import React, { Component } from 'react';
import { getFormComponent } from '@21epub/epub-form-components';
class Example extends Component {
Component = getFormComponent(widget_type);
render() {
return <Component />;
}
}
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 © dxsixpc