ComponentProps
type ComponentProps<C extends ComponentType<any> | keyof JSXInternal.IntrinsicElements> = C extends ComponentType<infer P> ? P : C extends keyof JSXInternal.IntrinsicElements ? JSXInternal.IntrinsicElements[C] : never;
§Type Parameters
§
C extends ComponentType<any> | keyof JSXInternal.IntrinsicElements
[src]§Type
§
C extends ComponentType<infer P> ? P : C extends keyof JSXInternal.IntrinsicElements ? JSXInternal.IntrinsicElements[C] : never
[src]