initialLoader
Options for a loader while your form initializes
Overview
Example
import { useRef } from 'react';
import { init, Form, FormContext } from '@feathery/react';
// You can use the default loader, or specify your own
import CustomLoader from './CustomLoader';
function App() {
// Initialize Feathery
init('SDKKey', '[email protected]');
// Show the `aBcDeF` Feathery form
return <Form
formId='aBcDeF'
// Fetch the Feathery form context
initialLoader={{
show: true,
loader: <CustomLoader />
}}
/>
}initialLoader properties
Prop
Type
Description
Last updated
Was this helpful?