UNPKG

material-duration-picker

Version:

React Material component for durations inspired by Material-UI Pickers

16 lines (15 loc) 770 B
import { GridProps } from '@material-ui/core'; import { ComponentType, Dispatch } from 'react'; import { DurationFieldProps } from "./durationField"; import { DurationView, Labels } from "./types"; export declare type DurationFieldsContainerProps = { views: DurationView[]; value: number | undefined; setValue: Dispatch<number | undefined>; labels?: Labels; GridContainerProps?: GridProps; GridItemProps?: GridProps; DurationFieldProps?: Partial<DurationFieldProps>; DurationFieldComp?: ComponentType<DurationFieldProps>; }; export declare const DurationFieldsContainer: ({ views, value, setValue, labels: _labels, GridItemProps, GridContainerProps, DurationFieldProps, DurationFieldComp, }: DurationFieldsContainerProps) => JSX.Element;