1.0.1 • Published 4 years ago

frmx-material-ui v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

frmx-material-ui

This library exposes bindings to use frmx with @material-ui/core.

To use it you need to have both frmx and @material-ui/core installed in your project as this package need them as peer dependencies.

Install

npm i frmx-material-ui

Usage

import { Form } from 'frmx'
import { TextField } from 'frmx-material-ui'

export default function MyApp() {
  return <>
    <Form
    initialValues={{
      name:''
    }}
    onSubmit={formValues => {
      console.log(formValues)
    }}
    >
      <TextField
      path='name'
      variant='outlined'
      label='Your name here'
      />
    </Form>
  </>
}

License

MIT © theolouvel

1.0.1

4 years ago

1.0.0

4 years ago