UNPKG

@playbooks/ui

Version:

An interface library for Playbooks.

44 lines (40 loc) 1.76 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 BannerProps = HtmlProps; export type BannerIconProps = HtmlProps & { type?: string; icon: string; }; export type BannerBodyProps = HtmlProps; export type BannerTitleProps = FontProps; export type BannerTextProps = HtmlProps; export type BannerActionsProps = HtmlProps & { onClick: () => any; onDismiss: () => any; }; export type FontProps = HtmlProps & { id?: string; size?: string | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sm"; }; export declare const Banner: ({ name, tailwind, className, children, ...props }: BannerProps) => import("react/jsx-runtime").JSX.Element; export declare const BannerIcon: ({ name, icon, tailwind, className, ...props }: BannerIconProps) => import("react/jsx-runtime").JSX.Element; export declare const BannerBody: ({ name, tailwind, className, children, ...props }: BannerBodyProps) => import("react/jsx-runtime").JSX.Element; export declare const BannerTitle: ({ name, size, tailwind, className, children, ...props }: BannerTitleProps) => import("react/jsx-runtime").JSX.Element; export declare const BannerText: ({ name, tailwind, className, children, ...props }: BannerTextProps) => import("react/jsx-runtime").JSX.Element; export declare const BannerActions: ({ name, tailwind, className, children, ...props }: BannerActionsProps) => import("react/jsx-runtime").JSX.Element; export {};