import { ReactNode, FunctionComponent } from 'react'; import { Icon } from '~/components/Icons/collection'; declare type TruthyOrFalsy = ReactNode | Icon | boolean | string | null | undefined; declare type ConditionalProps = { test: TruthyOrFalsy; }; /** * Render children conditionally if test returns true. */ export declare const Conditional: FunctionComponent; export {}; //# sourceMappingURL=Conditional.d.ts.map