Skip to content

ChildFeatureDetector

Detector callback: given the React element whose displayName matched the registry key, return the partial feature-prop record to auto-enable the corresponding plugin. Return undefined to skip.

type ChildFeatureDetector = (element: ReactElement) => Partial<TFeatures> | undefined
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://toolboxjs.com/llms-full.txt