Skip to content

Interface: JSONUIProviderProps

API / @xmachines/play-react / JSONUIProviderProps

Defined in: @json-render/react

Props for JSONUIProvider

Properties

PropertyTypeDescriptionDefined in
childrenReactNode--
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) => voidNavigation function-
onStateChange?(changes) => voidCallback when state changes (uncontrolled mode)-
registryComponentRegistryComponent registry-
store?StateStoreExternal store (controlled mode). When provided, initialState and onStateChange are ignored.-
validationFunctions?Record<string, (value, args?) => boolean>Custom validation functions-