Sha256: 766433ee62b5488aa8b7c75bc47823f601debc957d559b92c18819c2e102df48

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

import React from 'react';
declare type LayoutPropTypes = {
    aria?: {
        [key: string]: string;
    };
    children?: React.ReactChild[] | React.ReactChild;
    className?: string;
    collapse?: "xs" | "sm" | "md" | "lg" | "xl";
    dark?: boolean;
    data?: object;
    full?: boolean;
    position?: "left" | "right";
    responsive?: boolean;
    size?: "xs" | "sm" | "md" | "base" | "lg" | "xl";
    variant?: "light" | "dark" | "gradient";
    transparent?: boolean;
    layout?: "sidebar" | "collection" | "kanban" | "content" | "masonry";
};
declare type LayoutSideProps = {
    children: React.ReactNode[] | React.ReactNode;
    className?: string;
};
declare type LayoutBodyProps = {
    children: React.ReactNode[] | React.ReactNode;
    className?: string;
};
declare type LayoutItemProps = {
    children: React.ReactNode[] | React.ReactNode;
    className?: string;
    size?: "sm" | "md" | "lg";
};
declare type LayoutHeaderProps = {
    children: React.ReactNode[] | React.ReactNode;
    className?: string;
};
declare type LayoutFooterProps = {
    children: React.ReactNode[] | React.ReactNode;
    className?: string;
};
declare const Layout: {
    (props: LayoutPropTypes): JSX.Element;
    Side: (props: LayoutSideProps) => JSX.Element;
    Body: (props: LayoutBodyProps) => JSX.Element;
    Item: (props: LayoutItemProps) => JSX.Element;
    Header: (props: LayoutHeaderProps) => JSX.Element;
    Footer: (props: LayoutFooterProps) => JSX.Element;
};
export default Layout;

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