@ozen-ui/kit
Version:
React component library
5 lines (4 loc) • 404 B
TypeScript
import type { DataListBaseSingleValue, DataListBaseValue } from '../entities';
import type { DataListBaseBaseProps } from '../types';
export declare const isSingleProps: (props: DataListBaseBaseProps<boolean>) => props is DataListBaseBaseProps<false>;
export declare const isSingleInternalValue: (_: DataListBaseValue<boolean> | undefined, multiple: boolean) => _ is DataListBaseSingleValue | undefined;