tcomb-form-native-json-schema

    0.1.2 • Public • Published

    tcomb-form-native-json-schema

    Bridges tcomb-json-schema and tcomb-form-native together.

    Getting started

    $ yarn add tcomb-form-native-json-schema

    Usage

    import { FormSchema } from 'tcomb-form-native-json-schema'
     
    class Form extends React.Component {
      render() {
        // this.props.schema is a valid JSON schema
        return (
          <FormSchema
            schema={this.props.schema}
            data={this.state.values}
          />
        )
      }
    }

    License

    MIT.

    Author

    Álvaro Medina Ballester <amedina at apsl.net>

    Built with 💛 by APSL.

    Install

    npm i tcomb-form-native-json-schema

    DownloadsWeekly Downloads

    10

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • alvaromb