Module: @react-form-builder/components-rsuite
Interfaces
Variables
models
• Const
models: Model
<any
>[]
An array of rSuite component metadata for use in FormViewer.
rSuiteComponents
• Const
rSuiteComponents: Definer
<any
>[] = []
An array of rSuite component metadata factories.
rsErrorMessage
• Const
rsErrorMessage: Definer
<RsErrorMessageProps
>
Metadata builder for rSuite-based error display component.
rsTooltip
• Const
rsTooltip: Definer
<RsTooltipProps
>
Metadata builder for rSuite-based tooltip display component.
view
• Const
view: View
An assembled set of rSuite components, ready to be passed as a property to the FormViewer.
Functions
RsLocalizationWrapper
▸ RsLocalizationWrapper(props
): Element
Wrapper component for RSuite components localization.
Parameters
Name | Type | Description |
---|---|---|
props | FormViewerWrapperComponentProps | the component props. |
Returns
Element
the wrapped components with localization settings applied.
formEngineRsuiteCssLoader
▸ formEngineRsuiteCssLoader(): Promise
<void
>
Loads FormEngine specific styles over "rsuite" library.
Returns
Promise
<void
>
the Promise that resolves when the custom styles have been loaded successfully.
ltrCssLoader
▸ ltrCssLoader(): Promise
<void
>
Loads the Left-To-Right (LTR) CSS for the "rsuite" library.
Returns
Promise
<void
>
the Promise that resolves when the LTR CSS has been loaded successfully.
rtlCssLoader
▸ rtlCssLoader(): Promise
<void
>
Loads the Right-to-Left (RTL) CSS for the "rsuite" library.
Returns
Promise
<void
>
the Promise that resolves when the RTL CSS has been loaded successfully.