Variable: components
const
components:object
Type declaration
Accordion
Accordion:
ComponentType
<LunaticBaseProps
<string
> &LunaticExtraProps
&object
>
CheckboxBoolean()
CheckboxBoolean: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <boolean > & LunaticExtraProps & object |
Returns
Element
CheckboxGroup()
CheckboxGroup: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <Record <string , null | boolean >> & LunaticExtraProps & object |
Returns
Element
CheckboxOne()
CheckboxOne: (
__namedParameters
) =>Element
Checkbox acting as a radio (only one option can be checked at a time)
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
Datepicker()
Datepicker: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
Dropdown()
Dropdown: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
Duration()
Duration: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
FilterDescription()
FilterDescription: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | Props |
Returns
Element
Input()
Input: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <string > & LunaticExtraProps & object |
Returns
Element
InputNumber()
InputNumber: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | number > & LunaticExtraProps & object |
Returns
Element
Loop()
Loop: (
__namedParameters
) =>null
|Element
Loop without specific markup (stack of subcomponents)
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <unknown > & LunaticExtraProps & object |
Returns
null
| Element
PairwiseLinks()
PairwiseLinks: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | Omit <LunaticBaseProps <unknown >, "value" > & LunaticExtraProps & object |
Returns
Element
Question()
Question: (
props
) =>Element
Surround a question giving additional context with label / description / declarations
Parameters
Parameter | Type |
---|---|
props | Pick <LunaticBaseProps <unknown >, "label" | "description" | "declarations" | "id" | "propsTransformer" | "errors" | "disabled" | "readOnly" > & LunaticExtraProps & object |
Returns
Element
Radio
Radio:
ComponentType
<LunaticBaseProps
<null
|string
> &LunaticExtraProps
&object
>
RosterForLoop()
RosterForLoop: (
props
) =>null
|Element
Loop displayed as a table
Parameters
Parameter | Type |
---|---|
props | LunaticBaseProps <unknown > & LunaticExtraProps & object |
Returns
null
| Element
Roundabout()
Roundabout: (
props
) =>Element
Roundabout is a special loop component where the user can select the iteration to go to
Parameters
Parameter | Type |
---|---|
props | LunaticBaseProps <string > & LunaticExtraProps & object |
Returns
Element
Sequence
Sequence:
ComponentType
<Pick
<LunaticBaseProps
<string
>,"label"
|"description"
|"declarations"
|"id"
|"style"
> &LunaticExtraProps
&object
>
Subsequence
Subsequence:
ComponentType
<Pick
<LunaticBaseProps
<string
>,"label"
|"description"
|"declarations"
|"id"
> &LunaticExtraProps
&object
>
Suggester()
Suggester: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
Summary()
Summary: (
props
) =>Element
Summarize the responses done by the user
Parameters
Parameter | Type |
---|---|
props | LunaticBaseProps <null | string > & LunaticExtraProps & object |
Returns
Element
Switch
Switch:
ComponentType
<LunaticBaseProps
<boolean
> &LunaticExtraProps
&object
>
Table()
Table: (
props
) =>Element
Parameters
Parameter | Type |
---|---|
props | LunaticBaseProps <unknown > & LunaticExtraProps & object |
Returns
Element
Text()
Text: (
__namedParameters
) =>ReactNode
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <string > & LunaticExtraProps & object |
Returns
ReactNode
Textarea()
Textarea: (
__namedParameters
) =>Element
Parameters
Parameter | Type |
---|---|
__namedParameters | LunaticBaseProps <string > & LunaticExtraProps & object |
Returns
Element