UNPKG

@coveord/plasma-mantine

Version:

A Plasma flavoured Mantine theme

25 lines 1.14 kB
import { ModalFactory as MantineModalFactory, ModalProps as MantineModalProps } from '@mantine/core'; import { type HeaderDocAnchorProps, type HeaderProps } from '../Header/Header.js'; import { ModalFooter as PlasmaModalFooter } from './ModalFooter.js'; interface PlasmaModalProps extends MantineModalProps { /** * Description of the modal, displayed below the title. */ description?: HeaderProps['description']; /** * Help link for the modal, displayed in the header. * Usually provides a link to external documentation or help resources. */ help?: HeaderDocAnchorProps; } type PlasmaModalFactory = Omit<MantineModalFactory, 'staticComponents'> & { props: PlasmaModalProps; staticComponents: MantineModalFactory['staticComponents'] & { Footer: typeof PlasmaModalFooter; }; }; export declare const Modal: import("@mantine/core").MantineComponent<PlasmaModalFactory>; export type ModalProps = PlasmaModalProps; export type ModalFactory = PlasmaModalFactory; export type { ModalRootProps, ModalCssVariables, ModalStylesNames } from '@mantine/core'; //# sourceMappingURL=Modal.d.ts.map