@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
8 lines (7 loc) • 394 B
TypeScript
type ReturnType = {
valueFormatted: string | string[] | null;
hasError: boolean;
};
export declare const formatValueDate: (value: string, today: string, format: string, dateSeparator?: string) => string;
export declare const verifyFormat: (format: string, value: string, minDate: Date, maxDate: Date, today?: string, dateSeparator?: string, isRange?: boolean) => ReturnType;
export {};