Nightly Perpetrated Mischief

    @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

    Keywords

    none

    Install

    npm i @billogram/foundation-form

    DownloadsWeekly Downloads

    6

    Version

    2.0.3

    License

    MIT

    Unpacked Size

    120 kB

    Total Files

    83

    Last publish

    Collaborators

    • oscarekholm
    • irynaziruikina
    • jmfederico
    • andreagylling
    • ewakosciukiewicz
    • miriamlarsson
    • choddan