Skip to content

Global Provider

If you are using React, you can make use of a Provider to support properties for all nested FormRows, like:

Code Editor
<Provider
  FormRow={{
    vertical: true,
  }}
>
  <div id="my-app">
    ...
    <FormRow>Everything is vertical now</FormRow>
    <FormRow>Everything is vertical now</FormRow>
    ...
  </div>
</Provider>