antd-easy-form
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Easy Antd Form

A much more simple antd form

Docs

Online demos

Usage

import { Form, FormItem } from 'antd-easy-form';

const App = () => {
  return (
    <Form onValuesChange={console.log}>
      <FormItem label="Input1" tip="memo text" name="input" component="input" required requiredMessage="input is required!" />
      <FormItem label="Input2" name="input2" component={Input as any} />
      <FormItem label="Input3" name="input3">
        <Input />
      </FormItem>
    </Form>
  );
}

Readme

Keywords

Package Sidebar

Install

npm i antd-easy-form

Weekly Downloads

0

Version

1.1.3

License

MIT

Unpacked Size

20.7 kB

Total Files

22

Last publish

Collaborators

  • wwsun