import React from 'react'; import { SelectProps } from '@material-ui/core/Select'; import { SelectorStyleProps } from '../RoundedSelect/RoundedSelect'; import { Time } from '../../@Types/Time'; interface RoundedTimePickerProps extends Omit, SelectorStyleProps { /** Currently selected value */ value: Time | undefined; /** function called when value changes */ onChange?: (time: Time) => void; /** Strig to place in the label */ label: string; /** Minimum width in px of the component */ minWidth?: number; /** The helper Text to display */ helperText?: string | null; /** The color of the outline when selected and hovered on */ focusColor?: string; /** If outline should be error color */ highlightError?: boolean; /** the margin around the selector */ containerMargin?: string; /** The icon to display */ iconComponent?: any; pickDays?: boolean; minDays?: number; maxDays?: number; pickHours?: boolean; minHours?: number; maxHours?: number; pickMinutes?: boolean; minMinutes?: number; maxMinutes?: number; working?: boolean; } /** * Generic textfield with apps designs. Is class due to the use in the react-hook-forms library */ declare class RoundedTimePicker extends React.Component { render(): JSX.Element; } export default RoundedTimePicker;