import React from 'react'; import 'react-dates/initialize'; import { InputGroupPosition } from '../InputGroup'; interface ISingleDateInputV2Props { /** Name and ID of the HTML input */ name: string; /** Moment format to display the date in */ dateFormat?: string; /** Moment timezone to use for selecting the date in, or null to use the default */ timezone?: string; /** Called when the input is changed */ onChange?: (date: string | null) => void; /** If true, adds invalid styles to the input */ isInvalid?: boolean; /** If true, adds disabled attribute to the input */ isDisabled?: boolean; /** Updates border style depending on input group position */ groupPosition?: InputGroupPosition; /** Applies recommended settings for mobile and tablet viewports */ isMobile?: boolean; /** Placeholder text for the input; defaults to the date format */ placeholder?: string; /** Value for the input as an ISO8601-compatible string */ value: string | null; /** Month to default to showing as a ISO8601-compatible string */ initialVisibleMonth?: string; /** Disable for the calender (Return true for disabled date) */ isDisabledForDate?: (day: string) => boolean; /** Whether to render the dropdown that lets you pick month and year */ showMonthPicker?: boolean; } declare const SingleDateInputV2: React.FC>; export { SingleDateInputV2 };