@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
9 lines (8 loc) • 484 B
TypeScript
/** The following helper function was implemented following the same logic/strucure
* as react-add-to-calendar helpers class.
* (https://github.com/jasonsalzman/react-add-to-calendar/blob/master/src/helpers/index.js)
*/
export declare const getRandomKey: () => string;
export declare const formatTime: (date: any) => any;
export declare const calculateDuration: (startTime: any, endTime: any) => any;
export declare const buildUrl: (event: any, type: any, window: any) => string;