Type Alias: LunaticError
LunaticError =
Pick
<ControlDefinition
,"id"
|"criticality"
|"typeOfControl"
> &object
Defined in: src/use-lunatic/type.ts:53
Errors returned by useLunatic
hook when an input check is made with their
id, criticity, type and the message to display to the user.
Type declaration
errorMessage
errorMessage:
ReactNode