winoteam / react-form

🚦A powerful set of tools to manage forms in React.js

Home Page:https://xenodochial-hypatia-4937cc.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

🚦A powerful set of tools to manage forms in React.js

https://xenodochial-hypatia-4937cc.netlify.com/


Languages

Language:TypeScript 100.0%