UNPKG

@piscium2010/v-form

Version:

This is not a form, instead it is only a form shell of which the single responsibility is validating and providing error messages. Capable of definding flexiable rules and validating multi fields at a time.

15 lines (13 loc) 313 B
import React from 'react' import ReactDOM from 'react-dom' import Form from './Form' class App extends React.Component { render() { return ( <div style={{height: 380}}> <Form /> </div> ) } } ReactDOM.render(<App />, document.getElementById('app'))