@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
15 lines (14 loc) • 533 B
TypeScript
import type { Dayjs } from 'dayjs';
import type { DatetimePickerCell, IsSameTimeFunc } from '@meleon/uni-ui/lib/ml-datetime-picker';
interface PcikerCellClsProps {
prefixCls: string;
value?: Dayjs;
isSameTime: IsSameTimeFunc;
mode?: MeleonDatetime.DateMode;
}
export default function usePickerCellClassName(props: PcikerCellClsProps): {
getCellClassName: (cellData: DatetimePickerCell, disabled?: boolean) => (string | {
[x: string]: boolean | undefined;
} | undefined)[];
};
export {};