Type alias CustomPropsWithChildren<P>

CustomPropsWithChildren<P>: P & {
    children?: ReactNode | ((...args) => JSX.Element);
}

Type Parameters

  • P

Type declaration

  • Optional children?: ReactNode | ((...args) => JSX.Element)