0.1.1 â€ĸ Published 6 years ago

@wino/react-form-polaris v0.1.1

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

react-form

styled with prettier

react-form provides tools to manage forms in React.js app. This library is based on formik. It also provides ready-to-use components for use with Polaris UI kit(https://polaris.shopify.com).

đŸ”Ĩ Highlights

📟 Demos

đŸ’ģ How to use

Install as project dependency:

$ yarn add react-form-polaris

Now you can use it to manager your forms without pain:

import * as React from 'react'
import { Form, TextField } from 'react-form-polaris'

function App() {
  return (
    <Form onSubmit={console.log}>
      <TextField name="name" label="Say My Name" initialValue="Heisenberg" />
    </Form>
  )
}

đŸ•ē Contribute

Want to hack on react-form? Awesome! We welcome contributions from anyone and everyone. :rocket:

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install dependencies using Yarn: yarn
  3. Ensure that the tests are passing using yarn test
  4. Send a pull request 🙌

Remember to add tests for your change if possible. ī¸

👋 Questions

If you have any questions, feel free to open an issue.