Props for the NullWrapper component.

interface NullWrapperProps {
    children: ReactNode;
    condition: boolean;
}

Properties

Properties

children: ReactNode

The children to render if the condition is true.

condition: boolean

The condition to evaluate. If true, the children will be rendered; otherwise, nothing will be rendered.