UNPKG

@navikt/ds-react

Version:

React components from the Norwegian Labour and Welfare Administration.

23 lines (22 loc) 683 B
import React from "react"; import { type PortalProps } from "../../portal"; import { type DialogPopupInternalProps } from "./DialogPopupInternal"; type DialogPopupProps = DialogPopupInternalProps & Pick<PortalProps, "rootElement"> & { children: React.ReactNode; }; /** * @see 🏷️ {@link DialogPopupProps} * @example * ```jsx * <Dialog> * <Dialog.Popup> * ... * </Dialog.Popup> * </Dialog> * ``` */ declare const DialogPopup: React.ForwardRefExoticComponent<DialogPopupInternalProps & Pick<PortalProps, "rootElement"> & { children: React.ReactNode; } & React.RefAttributes<HTMLDivElement>>; export { DialogPopup }; export type { DialogPopupProps };