UNPKG

@innovaccer/design-system

Version:

React components library project for Innovaccer Design System

14 lines (13 loc) 678 B
import { InputProps } from "../../../index.type"; export declare const placeholders: { [key: string]: InputProps['placeholder']; }; export declare const isPlaceholderPresent: (placeholderChar: string, time?: string | undefined) => boolean | "" | undefined; export declare const isFormat12hour: (format: string) => boolean; export declare const translateToTime: (format: string, time?: string | number | undefined) => string; export declare const getTimeObjFromStr: (format: string, time: string) => { hours: number; minutes: number; am_pm: string; }; export declare const getOutputTimeString: (inputFormat: string, outputFormat: string, time: string) => string;