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 @react-native-ama/forms
yarn add @react-native-ama/forms
pnpm add @react-native-ama/forms
Usage
Each form needs to be wrapped by the Form provider.
<Form onSubmit={handleSubmit} ref={ref}>
{...}
</Form>