UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

15 lines (14 loc) 551 B
/** * Web Modal Component * */ import type { HTMLProps, ReactNode } from 'react'; import type { SectionProps } from '../../Section'; export type ModalHeaderBarProps = { /** * The content which will appear when triggering the modal/drawer. */ children?: ReactNode; shadowClass?: string; } & Omit<SectionProps, 'children'>; export default function ModalHeaderBar({ className, children, ref: _ref, shadowClass, ...props }: ModalHeaderBarProps & Omit<HTMLProps<HTMLElement>, 'children'>): import("react/jsx-runtime").JSX.Element;