phx-react
Version:
PHX REACT
23 lines (22 loc) • 923 B
TypeScript
export declare const formatDate: (date: any) => string;
export declare function formatViewResult(startDate: any, endDate: any): string;
export declare const createMonthCalendarWithAdjacentMonths: (year: number, month: number) => {
date: string;
dayOfWeek: number;
isCurrentMonth: boolean;
isToday: boolean;
}[];
export declare const getMonthName: (month: number) => string | undefined;
export declare const dateStrToDate: (date: string) => Date;
export declare const getHour: () => {
name: any;
current: boolean;
}[];
export declare const getMinutes: () => {
name: any;
current: boolean;
}[];
export declare const checkActive: (select: string, date: string) => boolean;
export declare const checkDisabled: (allDate: any) => any;
export declare function isValidDateFormat(dateString: any): boolean;
export declare function classNames(...classes: Array<string | boolean | undefined>): string;