@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
31 lines (30 loc) • 948 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import React from 'react';
import { ForwardRefReturn } from '../../types/common';
export type TimePickerSelectProps = {
/**
* Provide the contents of your TimePickerSelect
*/
children?: React.ReactNode;
/**
* Specify an optional className to be applied to the node containing the label and the select box
*/
className?: string;
/**
* Optionally provide the default value of the `<select>`
*/
defaultValue?: any;
/**
* Specify whether the control is disabled
*/
disabled?: boolean;
/**
* Specify a custom `id` for the `<select>`
*/
id: string;
} & React.SelectHTMLAttributes<HTMLSelectElement> & React.InputHTMLAttributes<HTMLSelectElement>;
type TimePickerSelectComponent = ForwardRefReturn<HTMLSelectElement, TimePickerSelectProps>;
declare const TimePickerSelect: TimePickerSelectComponent;
export default TimePickerSelect;