Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

winoteam/react-form

Repository files navigation

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. 🚀

  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.

Releases

No releases published

Packages

No packages published