Sha256: f4601a86f144bf5d4bdc59ca88c12694b69ad57c305176e494093801ee12d028

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

import React from 'react';
declare type LightboxType = {
    aria?: {
        [key: string]: string;
    };
    children: React.ReactNode[] | React.ReactNode | string;
    className?: string;
    currentPhotoIndex?: number;
    data?: {
        [key: string]: string | number;
    };
    description?: string | any;
    id?: string;
    photos: [];
    initialPhoto?: number;
    onChange?: (index: number) => {};
    onClickRight?: () => void;
    onClose?: () => void;
    icon: string;
    navRight?: string;
    trigger?: string;
    title?: string | any;
};
declare const Lightbox: {
    (props: LightboxType): React.ReactNode;
    Header: (props: {
        aria?: {
            [key: string]: string;
        };
        children?: React.ReactNode | React.ReactNode[];
        className?: string;
        closeable?: boolean;
        data?: {
            [key: string]: string | number;
        };
        icon?: string;
        id?: string;
        onClickRight?: () => void;
        onClose?: () => void;
        text?: string;
        navRight?: string;
        title?: string;
    } & import("../utilities/globalProps").GlobalProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
};
export default Lightbox;

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_lightbox/_lightbox.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_lightbox/_lightbox.d.ts