A flag for whether or not the component is disabled for input.
This is set to true
when waiting for Database operations to
settle. The wrapped component should disable functionality appropriately.
If you choose not to handle this prop, be aware that unsaved user entered
data may be overwritten when the Database operation does
eventually settle.
A flag for whether or not the component is required.
The current value of the component.
This should follow the standard React controlled component pattern with DynamicComponentControlledProps.onValueChange.
The callback to call when the component's value changes.
This should follow the standard React controlled component pattern with DynamicComponentControlledProps.value.
Generated using TypeDoc
The proptypes of the extra props injected when rendering the DynamicComponent to connect it to a Database.
When implementing a DynamicComponent you should make sure to hook these props up to the relevant props in the component you're wrapping in order to integrate with the Database correctly.
type MyProps = DynamicComponentControlledProps<string> & { content: string; };