UNPKG

ph-material-pickers

Version:

React components, that implements material design pickers for material-ui v4

14 lines (13 loc) 741 B
import * as React from 'react'; import { ToolbarProps } from '@material-ui/core/Toolbar'; import { ExtendMui } from '../typings/helpers'; import { ToolbarComponentProps } from '../Picker/SharedPickerProps'; export declare const useStyles: (props?: any) => Record<"root" | "toolbarLandscape" | "dateTitleContainer", string>; interface PickerToolbarProps extends ExtendMui<ToolbarProps>, Pick<ToolbarComponentProps, 'getMobileKeyboardInputViewButtonText' | 'isMobileKeyboardViewOpen' | 'toggleMobileKeyboardView'> { toolbarTitle: React.ReactNode; landscapeDirection?: 'row' | 'column'; isLandscape: boolean; penIconClassName?: string; } declare const PickerToolbar: React.SFC<PickerToolbarProps>; export default PickerToolbar;