API / @xmachines/play-react / JSONUIProviderProps
Defined in: @json-render/react
Props for JSONUIProvider
Properties
| Property | Type | Description | Defined in |
|---|
children | ReactNode | - | - |
functions? | Record<string, ComputedFunction> | Named functions for $computed expressions in props | - |
handlers? | Record<string, (params) => unknown> | Action handlers | - |
initialState? | Record<string, unknown> | Initial state model (uncontrolled mode) | - |
navigate? | (path) => void | Navigation function | - |
onStateChange? | (changes) => void | Callback when state changes (uncontrolled mode) | - |
registry | ComponentRegistry | Component registry | - |
store? | StateStore | External store (controlled mode). When provided, initialState and onStateChange are ignored. | - |
validationFunctions? | Record<string, (value, args?) => boolean> | Custom validation functions | - |