import React from "react"; import { DateInputProps, MonthPickerInput } from "../Date.Input"; import { MonthPickerProps } from "./MonthPicker.types"; import { MonthPickerStandalone, MonthPickerStandaloneProps } from "./parts/MonthPicker.Standalone"; interface MonthPickerComponent extends React.ForwardRefExoticComponent { /** * @see 🏷️ {@link MonthPickerStandaloneProps} * @example * ```jsx * * ``` */ Standalone: typeof MonthPickerStandalone; /** * Custom TextField for MonthPicker * @see 🏷️ {@link DateInputProps} */ Input: typeof MonthPickerInput; } /** * A component that displays a month picker. * * @see [📝 Documentation](https://aksel.nav.no/komponenter/core/monthpicker) * @see 🏷️ {@link MonthPickerProps} * * @example * ```jsx * const { inputProps, monthpickerProps } = useMonthpicker({ * onMonthChange: console.log, * }); * * return ( * * * * ); * ``` */ export declare const MonthPicker: MonthPickerComponent; export default MonthPicker; export { MonthPickerStandalone, MonthPickerInput }; export type { MonthPickerProps, MonthPickerStandaloneProps, DateInputProps };