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