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

0.0.3-alpha.3 • Public • Published

@21epub/epub-form-validation

validation for epub form

NPM JavaScript Style Guide Build Status Codecov

Intro

This is a component for react.

Feature

  • [x] Easy-to-use
  • [x] Typescript Support

Install

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

Usage

import React, { Component } from 'react'

import MyComponent from '@21epub/epub-form-validation'
import '@21epub/epub-form-validation/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 parcel dev:

npm install
npm run install-peers

To run Example in hot module reloading mode:

npm start

To create a parcel example production build:

npm run build-prod

To create a bundle library module build:

npm run build

Running

Open the file dist/index.html in your browser

Testing

To run unit tests:

npm test

License

MIT © icey0126

Readme

Keywords

Package Sidebar

Install

npm i @21epub/epub-form-validation

Weekly Downloads

0

Version

0.0.3-alpha.3

License

MIT

Unpacked Size

95.1 kB

Total Files

14

Last publish

Collaborators

  • csj117
  • gary.guzy
  • zhangwei0126
  • dxsix
  • wagon1104
  • ongyuxing