This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@billogram/foundation-form
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

@billogram/foundation-form

A React form component

Install

yarn add @billogram/foundation-form

Usage

import {
    FoundationForm,
    FoundationFormConsumer,
    FoundationFormProvider,
    useForm,
} from '@billogram/foundation-form';

See types for exported types.

FoundationForm

<FoundationForm
    initialValues={ {
        text: '',
    } }>
    { (form) => (
        <FoundationTextbox
            { ...form.fields.text } />
    ) }
</FoundationForm>
}

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @billogram/foundation-form

Weekly Downloads

2

Version

2.0.3

License

MIT

Unpacked Size

120 kB

Total Files

83

Last publish

Collaborators

  • andreagylling
  • ewakosciukiewicz
  • irynaziruikina
  • jamesbillo
  • jmfederico
  • miriamlarsson
  • oscarekholm