0.1.3 • Published 1 year ago

@formhub/react v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@formhub/react

Installation

yarn add @formhub/react

Usage

To obtain the formId, create a form in FormHub, and copy the formId from the URL.

Basic example

import React from 'react';
import Form from '@formhub/react';

const App = () => {
  return (
    <Form formId="xqVw2L26">
      <Form.Input name="firstName" label="First Name" required />
      <Form.Input name="lastName" label="Last Name" required />
      <Form.Input name="businessEmail" label="Business Email" required />
      <Form.Input name="companyName" label="Company Name" required />
      <Form.Button>Submit</Form.Submit>
    </Form>
  );
};

export default App;
0.1.2

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago