UNPKG

@sparklink-pro/apant

Version:

Apollo & Antd tools

17 lines 932 B
import { Configuration } from '../definitions'; export declare const FORMAT_DATE = "DD/MM/YYYY"; export declare const FORMAT_DATE_TIME = "DD/MM/YYYY hh:mm"; export declare const FORMAT_DATE_TIME_FULL = "DD/MM/YYYY HH:mm:ss"; export declare const FORMAT_TIME = "HH:mm"; export declare const FORMAT_TIME_FULL = "HH:mm:ss"; export declare const SCALAR_FORMAT_DATE = "YYYY-MM-DD"; export declare const SCALAR_FORMAT_DATETIME = "YYYY-MM-DD HH:mm:ss"; export declare const SCALAR_FORMAT_TIME = "HH:mm"; export declare const SCALAR_FORMAT_TIME_FULL = "HH:mm:ss"; type WithRequiredProperty<Type, Key extends keyof Type> = Type & { [Property in Key]-?: Type[Property]; }; type ConfigurationInitialized = WithRequiredProperty<Configuration, 'iconRenderer' | 'translator' | 'datePicker'>; export declare const useConfiguration: () => ConfigurationInitialized; export default useConfiguration; //# sourceMappingURL=useConfiguration.d.ts.map