import type { JSX } from "react" import type { ComponentConfig } from './config' import type { IntrinsicElements } from './intrinsic' import type { PartialBy } from './utils' type InheritedCreator
= {
) => N
) => N
, config: ComponentConfig (component: (props: P) => N): InheritedCreator
} & {
readonly [N in keyof JSX.IntrinsicElements]: InheritedCreator