Type alias CommonComponent<P>
CommonComponent<P>: ((props: P & { children?: ReactNode }) => null | JSX.Element)
Type Parameters
Type declaration
-
- (props: P & { children?: ReactNode }): null | JSX.Element
-
Parameters
-
props: P & { children?: ReactNode }
Returns null | JSX.Element