UNPKG

@playbooks/ui

Version:

An interface library for Playbooks.

49 lines (45 loc) 2.11 kB
// Generated by dts-bundle-generator v9.5.1 import { TailwindProps } from '@ehubbell/html'; export type HtmlProps = TailwindProps & { id?: string; ref?: any; name?: string; size?: string; html?: any; tabIndex?: any; onClick?: (v?: any) => any; onMouseEnter?: (v?: any) => any; onMouseLeave?: (v?: any) => any; tailwind?: TailwindProps & any; className?: string; style?: any; children?: any; }; export type ModalWrapperProps = HtmlProps & { open?: boolean; onClose?: () => any; }; export type ModalProps = HtmlProps & { open?: boolean; onClose?: () => any; }; export type ModalBackdropProps = HtmlProps & { open: boolean; onClose?: () => any; }; export type ModalHeaderProps = HtmlProps & { onClose?: () => any; }; export type ModalTitleProps = HtmlProps; export type ModalSubtitleProps = HtmlProps; export type ModalBodyProps = HtmlProps; export type ModalFooterProps = HtmlProps; export declare const ModalWrapper: ({ name, open, onClose, tailwind, className, children, ...props }: ModalWrapperProps) => import("react/jsx-runtime").JSX.Element; export declare const ModalBackdrop: ({ name, open, onClose, tailwind, ...props }: ModalBackdropProps) => import("react/jsx-runtime").JSX.Element; export declare const Modal: ({ name, open, onClose, tailwind, className, children, ...props }: ModalProps) => any; export declare const ModalHeader: ({ name, onClose, tailwind, className, children, ...props }: ModalHeaderProps) => import("react/jsx-runtime").JSX.Element; export declare const ModalTitle: ({ name, size, tailwind, className, children, ...props }: ModalTitleProps) => import("react/jsx-runtime").JSX.Element; export declare const ModalSubtitle: ({ name, size, tailwind, className, children, ...props }: ModalSubtitleProps) => import("react/jsx-runtime").JSX.Element; export declare const ModalBody: ({ name, size, tailwind, className, children, ...props }: ModalBodyProps) => import("react/jsx-runtime").JSX.Element; export declare const ModalFooter: ({ name, tailwind, className, children, ...props }: ModalFooterProps) => import("react/jsx-runtime").JSX.Element; export {};