@shinyongjun/react-datepicker
Version:
DatePicker component in React App.
15 lines (14 loc) • 562 B
TypeScript
import { RefObject } from 'react';
import { TIsVisible } from '../../types/props';
interface IProps {
value: Date | null;
onChange?: (value: Date | null) => void;
valueFormat: string;
useClearButton: boolean;
disabled: boolean;
inputRef: RefObject<HTMLDivElement>;
isVisible: TIsVisible;
setIsVisible: (value: TIsVisible) => void;
}
export default function DatePickerInput({ value, onChange, valueFormat, inputRef, useClearButton, disabled, isVisible, setIsVisible, }: IProps): import("react/jsx-runtime").JSX.Element;
export {};