Type alias ComponentWithConditionPropsWithFunctionChildren<P>

ComponentWithConditionPropsWithFunctionChildren<P>: P & CustomPropsWithChildren<{
    condition: (() => BooleanLike) | BooleanLike;
}>

Props for a React component that have both children as well as a condition prop that is supported by this library

The children can also be in function style

Type Parameters