Selector configuration
Props for the Selector component.
Readonlyoption: OptionThe option definition to select based on
ReadonlydefaultOption: string | ComponentTypeDefault component or value to use
Optional Readonlychildren?: ReactNodeChild components, each representing an option value
The selected child component or null
Selector component for option-based rendering.
This component selects and renders a child component based on the current option value in the OptionContext. It automatically registers available options from its children and selects the matching one.