@21epub/epub-form-components
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.9 • Public • Published

    epub-form-components

    Made with create-storybook-react-library

    NPM JavaScript Style Guide Build Status Codecov

    Intro

    This is a component for react.

    Feature

    • [x] Easy-to-use
    • [x] Typescript Support
    • [x] Storybook UI component

    Install

    npm install --save @21epub/epub-form-components

    Usage

    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

    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 © dxsixpc

    Install

    npm i @21epub/epub-form-components

    DownloadsWeekly Downloads

    703

    Version

    0.4.9

    License

    MIT

    Unpacked Size

    1.05 MB

    Total Files

    238

    Last publish

    Collaborators

    • gary.guzy
    • zhangwei0126
    • dxsix
    • liqiuliepub
    • wagon1104
    • xuyucheng
    • ongyuxing