import type { ReactNode } from 'react'; import { EntityAccessor } from '@contember/binding'; import { Filter } from '@contember/binding'; export type IfProps = IfFilterProps | IfCallbackProps; export interface IfFilterProps { condition: string | Filter; children?: ReactNode; then?: ReactNode; else?: ReactNode; } export interface IfCallbackProps { condition: (accessor: EntityAccessor) => boolean; children?: ReactNode; then?: ReactNode; else?: ReactNode; } /** * @group Logic Components */ export declare const If: React.NamedExoticComponent; //# sourceMappingURL=If.d.ts.map