Sha256: 67819d13196b2685a4b256b608cac28036b43f5c74253dff248fb530c4794fd4

Contents?: true

Size: 2 KB

Versions: 2

Compression:

Stored size: 2 KB

Contents

import React from "react";
declare type DialogProps = {
    aria?: {
        [key: string]: string;
    };
    cancelButton?: string;
    children: React.ReactNode | React.ReactNode[] | string;
    className?: string;
    closeable: boolean;
    confirmButton?: string;
    data?: object;
    id?: string;
    fullHeight?: boolean;
    loading?: boolean;
    onCancel?: () => void;
    onChange?: () => void;
    onClose?: () => void;
    onConfirm?: () => void;
    opened: boolean;
    portalClassName?: string;
    placement?: "left" | "center" | "right";
    shouldCloseOnOverlayClick: boolean;
    size?: "sm" | "md" | "lg" | "xl" | "status_size" | "content";
    status?: "info" | "caution" | "delete" | "error" | "success";
    text?: string;
    title?: string;
    trigger?: string;
};
declare const Dialog: {
    (props: DialogProps): JSX.Element;
    Header: (props: {
        aria?: {
            [key: string]: string;
        };
        children: React.ReactNode | React.ReactNode[];
        className?: string;
        closeable?: boolean;
        data?: object;
        id?: string;
        padding?: string;
        separator?: boolean;
        spacing?: "none" | "between" | "around" | "evenly";
        text?: string;
        title?: string;
    } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
    Body: (props: {
        children: React.ReactNode | React.ReactNode[];
        padding?: "md" | "lg" | "sm" | "xl" | "xs" | "xxs";
        className?: string;
    }) => JSX.Element;
    Footer: (props: {
        aria?: {
            [key: string]: string;
        };
        children: React.ReactChild | React.ReactChild[];
        className?: string;
        data?: {
            [key: string]: string;
        };
        id?: string;
        padding?: string;
        paddingBottom?: string;
        paddingX?: string;
        separator?: boolean;
        spacing?: "none" | "between" | "around" | "evenly";
    } & import("../utilities/globalProps").GlobalProps) => JSX.Element;
};
export default Dialog;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 app/pb_kits/playbook/pb_dialog/_dialog.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_dialog/_dialog.d.ts