0.4.2 • Published 5 years ago

@xkit/form v0.4.2

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

form

import React from 'react';
import { Form, FormGroup, FormSubmit } from '@xkit/form';

const UserForm = () => {
  function handleSubmit(values, { setSubmitting }) {
    setSubmitting(false);
  }

  return (
    <Form initialValues={{ name: '' }} onSubmit={handleSubmit}>
      <FormGroup name="name" label="Name" />
      <FormSubmit />
    </Form>
  );
};
0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.8

5 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago