UNPKG

@playbooks/ui

Version:

An interface library for Playbooks.

44 lines (40 loc) 1.74 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 AlertProps = HtmlProps & { type?: string; show?: boolean; }; export type AlertIconProps = HtmlProps & { type?: string; icon: string; }; export type AlertBodyProps = HtmlProps; export type AlertTitleProps = FontProps; export type AlertTextProps = HtmlProps; export type AlertActionsProps = HtmlProps; export type FontProps = HtmlProps & { id?: string; size?: string | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sm"; }; export declare const Alert: ({ type, name, tailwind, className, children, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element; export declare const AlertIcon: ({ type, name, icon, tailwind, className, ...props }: AlertIconProps) => import("react/jsx-runtime").JSX.Element; export declare const AlertBody: ({ name, tailwind, className, children, ...props }: AlertBodyProps) => import("react/jsx-runtime").JSX.Element; export declare const AlertTitle: ({ name, size, tailwind, className, children, ...props }: AlertTitleProps) => import("react/jsx-runtime").JSX.Element; export declare const AlertText: ({ name, tailwind, className, children, ...props }: AlertTextProps) => import("react/jsx-runtime").JSX.Element; export declare const AlertActions: ({ name, tailwind, className, children, ...props }: AlertActionsProps) => import("react/jsx-runtime").JSX.Element; export {};