Sha256: 7bf9989c8557dd35c202cb72bbae2264b528d820d11d0eab02ee3e9b9d1eefc5

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

import React from 'react';
import { IconSizes } from "../pb_icon/_icon";
declare type CollapsibleProps = {
    children?: JSX.Element | [] | any;
    aria?: {
        [key: string]: string;
    };
    className?: string;
    collapsed?: boolean;
    data?: object;
    icon?: string | string[];
    iconColor?: 'default' | 'light' | 'lighter' | 'link' | 'error' | 'success';
    iconSize?: IconSizes;
    onIconClick?: () => void;
    onClick?: () => void;
    id?: string;
};
declare const Collapsible: {
    ({ aria, className, children, collapsed, data, icon, iconColor, iconSize, onIconClick, onClick, id, ...props }: CollapsibleProps): JSX.Element;
    Main: ({ children, className, cursor, ...props }: {
        children: React.ReactNode | React.ReactNode[];
        className?: string;
        cursor?: string;
        dark?: boolean;
        onClick?: () => void;
    }) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
    Content: ({ children, className, ...props }: import("./child_kits/CollapsibleContent").CollapsibleContentProps) => JSX.Element;
};
export default Collapsible;

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