UNPKG

@navikt/ds-react

Version:

React components from the Norwegian Labour and Welfare Administration.

19 lines (18 loc) 674 B
import React from "react"; import { TFunction } from "../util/i18n/i18n.types"; type DateWrapperProps = { open: boolean; children: React.ReactNode; onClose: () => void; anchor: HTMLDivElement | null; /** @deprecated Temporary to support locale prop */ locale: "nb" | "nn" | "en" | undefined; translate: TFunction<"DatePicker">; variant: "single" | "multiple" | "range" | "month"; popoverProps: { id?: string; strategy?: "absolute" | "fixed"; }; }; declare const DateDialog: ({ open, children, onClose, anchor, locale, translate, variant, popoverProps, }: DateWrapperProps) => React.JSX.Element; export { DateDialog };