@material-ui/lab
Version:
Material-UI Lab - Incubator for Material-UI React components.
26 lines (25 loc) • 3.42 kB
TypeScript
import * as React from 'react';
import { WithStyles } from '@material-ui/core/styles';
export declare const styles: Record<"separator" | "root" | "penIcon" | "timeContainer" | "dateContainer" | "timeTypography", import("../../../material-ui-styles/src").CSSProperties | import("../../../material-ui-styles/src").CreateCSSProperties<{}> | import("../../../material-ui-styles/src").PropsFunc<{}, import("../../../material-ui-styles/src").CreateCSSProperties<{}>>>;
export declare type DateTimePickerToolbarClassKey = keyof WithStyles<typeof styles>['classes'];
declare const _default: React.ComponentType<Pick<React.PropsWithChildren<Pick<import("../DayPicker/DayPicker").DayPickerProps<unknown, import("../internal/pickers/typings/Views").DatePickerView>, "loading" | "onViewChange" | "minDate" | "maxDate" | "disablePast" | "disableFuture" | "onMonthChange" | "reduceAnimations" | "shouldDisableDate" | "defaultCalendarMonth" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "allowSameDateSelection" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "renderDay" | "allowKeyboardControl" | "renderLoading" | "onYearChange" | "shouldDisableYear"> & import("../ClockPicker/ClockPicker").ExportedClockPickerProps<unknown> & {
ampmInClock?: boolean | undefined;
date: unknown;
dateRangeIcon?: React.ReactNode;
getMobileKeyboardInputViewButtonText?: (() => string) | undefined;
hideTabs?: boolean | undefined;
isLandscape: boolean;
isMobileKeyboardViewOpen: boolean;
onChange: import("../internal/pickers/hooks/useViews").PickerOnChangeFn<unknown>;
openView: import("../internal/pickers/typings/Views").AllAvailableViews;
setOpenView: (view: import("../internal/pickers/typings/Views").AllAvailableViews) => void;
timeIcon?: React.ReactNode;
toggleMobileKeyboardView: () => void;
toolbarFormat?: string | undefined;
toolbarPlaceholder?: React.ReactNode;
toolbarTitle?: React.ReactNode;
views: import("../internal/pickers/typings/Views").AllAvailableViews[];
} & {
classes: Record<"separator" | "root" | "penIcon" | "timeContainer" | "dateContainer" | "timeTypography", string>;
}>, "children" | "onChange" | "date" | "minTime" | "maxTime" | "shouldDisableTime" | "disableIgnoringDatePartForTimeValidation" | "loading" | "views" | "onViewChange" | "openView" | "setOpenView" | "minDate" | "maxDate" | "disablePast" | "disableFuture" | "onMonthChange" | "reduceAnimations" | "shouldDisableDate" | "toolbarTitle" | "toolbarPlaceholder" | "toolbarFormat" | "defaultCalendarMonth" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "allowSameDateSelection" | "leftArrowIcon" | "rightArrowIcon" | "leftArrowButtonProps" | "rightArrowButtonProps" | "leftArrowButtonText" | "rightArrowButtonText" | "getViewSwitchingButtonText" | "renderDay" | "allowKeyboardControl" | "renderLoading" | "onYearChange" | "shouldDisableYear" | "ampm" | "ampmInClock" | "getClockLabelText" | "minutesStep" | "isMobileKeyboardViewOpen" | "getMobileKeyboardInputViewButtonText" | "toggleMobileKeyboardView" | "dateRangeIcon" | "hideTabs" | "isLandscape" | "timeIcon"> & import("../../../material-ui/src/styles").StyledComponentProps<"separator" | "root" | "penIcon" | "timeContainer" | "dateContainer" | "timeTypography">>;
export default _default;