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