UNPKG

vuestic-ui

Version:
13 lines (12 loc) 480 B
import { DateInputValue } from './../types'; import { Ref } from 'vue'; export declare const defaultParseDateFunction: (text: string) => Date; export declare const useDateParser: (props: { parse?: ((input: string, isValidRef?: Ref<boolean>) => DateInputValue) | undefined; parseDate?: ((input: string) => Date) | undefined; delimiter: string; rangeDelimiter: string; }) => { parseDateInputValue: (text: string) => DateInputValue; isValid: Ref<boolean>; };