import React from "react"; import "./datepicker.scss"; interface OverriddenNativeProps extends React.DetailedHTMLProps, HTMLInputElement> { value: any; min?: any; max?: any; onChange: any; } export interface DatepickerProps extends OverriddenNativeProps { /** the value of the datepicker as a Date object */ value: Date; /** On Change handler with the latest Date value */ onChange: (value: Date) => void; /** Property sets whether a datepicker is a month picker */ monthPicker?: boolean; /** Property sets whether SEB styled datepicker will be rendered despite the browser used */ forceCustom?: boolean; /** Minimum range of date that can be selected */ min?: Date; /** Maximum range of date that can be selected */ max?: Date; /** Locale of datepicker */ localeCode?: string; /** Div wrapper props. NOTE: customPicker ONLY! */ wrapperProps?: JSX.IntrinsicElements["div"]; /** Props for the select element of month picker. NOTE: customPicker ONLY! */ customPickerSelectProps?: JSX.IntrinsicElements["select"]; } export declare const Datepicker: React.FunctionComponent; export {};