import * as React from "react"; import { Moment } from "moment"; import * as moment from "moment"; import * as ReactDatetime from "react-datetime"; /* Test the datetime picker. */ const TEST_BASIC_USAGE: JSX.Element = ; /* Test date properties */ const TEST_DATE_PROPS_FOR_VALUE: JSX.Element = ; const TEST_DATE_PROPS_FOR_DEFAULT_VALUE: JSX.Element = ; const TEST_DATE_PROPS_FOR_VALUE_AS_MOMENT: JSX.Element = ; const TEST_DATE_PROPS_FOR_VALUE_AS_STRING: JSX.Element = ; const TEST_DATE_PROPS_FOR_DEFAULT_VALUE_AS_MOMENT: JSX.Element = ; const TEST_DATE_PROPS_FOR_DEFAULT_VALUE_AS_STRING: JSX.Element = ; /* Test formats */ const TEST_FORMAT_PROPS_AS_STRINGS: JSX.Element = ; const TEST_FORMAT_PROPS_AS_BOOLEANS: JSX.Element = ; /* Test boolean options */ const TEST_BOOLEAN_PROPS: JSX.Element = ; /* Test locale options */ const TEST_LOCALE_PROPS: JSX.Element = ; /* Test input props */ const TEST_INPUT_PROPS: JSX.Element = ; /* Test Event handlers */ const TEST_EVENT_HANDLERS_WITH_STRINGS: JSX.Element = {} } onOpen={ () => {} } onClose={ (momentOrInputString:string) => {} } onNavigate={ (initialViewMode:string) => {} } onBeforeNavigate={ (nextView:string, currentView:string, viewDate: any ) => { return 'ok' } } />; const TEST_EVENT_HANDLERS_WITH_MOMENT: JSX.Element = {} } onClose={ (momentOrInputString:Moment) => {} } />; /* Test view mode and className */ const TEST_VIEW_MODE_AND_CLASS_PROPS: JSX.Element = ; /* Test date validator */ const TEST_DATE_VALIDATOR_PROP: JSX.Element = { return true; } } />; /* Test customizable components */ const TEST_CUSTOMIZABLE_COMPONENT_PROPS: JSX.Element = { return { '0' + currentDate.date() }; } } renderMonth={ (props: any, month: any, year: any, selectedDate: any) => { return { month }; } } renderYear={ (props: any, year: any, selectedDate: any) => { return { year % 100 }; } } renderInput={ (props: any, openCalendar: Function, closeCalendar: Function) => { return }} renderView={ (viewMode: string, renderCalendar: Function ) => { return renderCalendar() }} />; /* Test time constraints. */ const TEST_BASIC_TIME_CONSTRAINTS: JSX.Element = ; const TEST_TIME_CONSTRAINTS_WITH_ONE: JSX.Element = ; const TEST_TIME_CONSTRAINTS_WITH_ALL: JSX.Element = ;