Intro
The @react-native-ama/forms
package offers essential hooks and components needed to create accessible forms.
Installation
Install the @react-native-ama/forms
package with your favourite package manager:
- npm
- Yarn
- pnpm
npm install -D @react-native-ama/forms
yarn add --dev @react-native-ama/forms
pnpm add -D @react-native-ama/forms
Usage
Each form needs to be wrapped by the Form provider.
<Form onSubmit={handleSubmit} ref={ref}>
{...}
</Form>