Type alias ComponentWithConditionProps<P>

ComponentWithConditionProps<P>: P & PropsWithChildren<{
    condition: (() => BooleanLike) | BooleanLike;
}>

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

Type Parameters