Build the RenderProps object handed to a resolver render function or a
widget. Used by both the server-side <SchemaView> (which has no
onChange) and the client-side <SchemaComponent> (which threads an
onChange callback).
When onChange is undefined the caller is rendering in read-only mode:
a noop onChange is wired up, readOnly is forced to true, and
writeOnly is forced to false. Otherwise the editability is taken
from tree.editability.
Build the
RenderPropsobject handed to a resolver render function or a widget. Used by both the server-side<SchemaView>(which has noonChange) and the client-side<SchemaComponent>(which threads anonChangecallback).When
onChangeisundefinedthe caller is rendering in read-only mode: a nooponChangeis wired up,readOnlyis forced totrue, andwriteOnlyis forced tofalse. Otherwise the editability is taken fromtree.editability.