react-ocean-forms-react-intl
react-ocean-forms-react-intl
works with react-ocean-forms
to enable react-intl
support in the forms.
API Documentation and Showcase
Features
- Plug and play extension for multi-language support
Install
npm install react-ocean-forms-react-intl
yarn add react-ocean-forms-react-intl
Usage
Simply swap out any existing Form
references with IntlForm
from this package.
;
Then replace the existing form tags.
<IntlForm => <Input ="name" ="demo_name" /> <button ="submit">Submit</button></IntlForm>
IntlForm passes all props to Form
. You can find a detailed documentation
in the react-ocean-forms repository.