UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

25 lines (24 loc) 712 B
/** * Web Modal Component * */ import React from 'react'; import { ContextProps } from '../../../shared/Context'; import type { ButtonProps } from '../../button/Button'; export type CloseButtonProps = { /** * The title of the close button. Defaults to <em>Close</em> or <em>Lukk</em>. */ close_title?: string; } & Partial<ButtonProps>; export default class CloseButton extends React.PureComponent<CloseButtonProps> { static contextType: React.Context<ContextProps>; context: ContextProps; static defaultProps: { close_title: any; size: string; icon_position: string; className: any; }; render(): import("react/jsx-runtime").JSX.Element; }