semantic-ui-calendar-react
Version:
date/time picker built from semantic-ui elements
43 lines (42 loc) • 2.2 kB
TypeScript
/// <reference types="react" />
import BaseInput, { BaseInputProps, BaseInputState, DateRelatedProps, MinMaxValueProps } from './BaseInput';
export declare type MonthRangeInputProps = BaseInputProps & DateRelatedProps & MinMaxValueProps;
export declare type MonthRangeInputOnChangeData = MonthRangeInputProps;
declare class MonthRangeInput extends BaseInput<MonthRangeInputProps, BaseInputState> {
static readonly defaultProps: {
dateFormat: string;
icon: string;
inline: boolean;
localization: string;
};
static readonly propTypes: {
maxDate: import("prop-types").Requireable<string | {}>;
minDate: import("prop-types").Requireable<string | {}>;
dateFormat: import("prop-types").Requireable<string>;
initialDate: import("prop-types").Requireable<string | {}>;
value: import("prop-types").Validator<string>;
onChange: import("prop-types").Validator<(...args: any[]) => any>;
closable: import("prop-types").Requireable<boolean>;
inline: import("prop-types").Requireable<boolean>;
icon: import("prop-types").Requireable<string | boolean>;
iconPosition: import("prop-types").Requireable<string>;
onClear: import("prop-types").Requireable<(...args: any[]) => any>;
clearable: import("prop-types").Requireable<boolean>;
clearIcon: import("prop-types").Requireable<any>;
popupPosition: import("prop-types").Requireable<string>;
closeOnMouseLeave: import("prop-types").Requireable<boolean>;
mountNode: import("prop-types").Requireable<any>;
inlineLabel: import("prop-types").Requireable<boolean>;
pickerWidth: import("prop-types").Requireable<string>;
pickerStyle: import("prop-types").Requireable<object>;
duration: import("prop-types").Requireable<number>;
animation: import("prop-types").Requireable<string>;
localization: import("prop-types").Requireable<string>;
hideMobileKeyboard: import("prop-types").Requireable<boolean>;
};
constructor(props: any);
render(): JSX.Element;
private getPicker;
private handleSelect;
}
export default MonthRangeInput;