UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

30 lines (29 loc) 864 B
/** * Web Modal Component * */ import React from 'react'; import ModalContext from '../ModalContext'; import { SectionProps } from '../../Section'; export type ModalInnerProps = SectionProps; export default class ModalInner extends React.PureComponent<ModalInnerProps & React.HTMLProps<HTMLElement>> { static contextType: React.Context<{ preventClick: any; onKeyDownHandler: any; id: any; title: any; hide_close_button: any; close_button_attributes: any; close_title: any; setBackgroundColor: any; onCloseClickHandler: any; contentRef: any; scrollRef: any; hide: any; contentId: any; close: any; }>; context: React.ContextType<typeof ModalContext>; componentDidMount(): void; render(): import("react/jsx-runtime").JSX.Element; }