@playbooks/ui
Version:
An interface library for Playbooks.
44 lines (40 loc) • 1.92 kB
TypeScript
// 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 AvatarProps = HtmlProps;
export type AvatarBadgeProps = HtmlProps;
export type AvatarImgProps = HtmlProps & {
size?: string;
src?: string;
alt?: string;
};
export type AvatarBodyProps = HtmlProps;
export type AvatarTitleProps = FontProps;
export type AvatarTextProps = HtmlProps;
export type AvatarActionsProps = HtmlProps;
export type FontProps = HtmlProps & {
id?: string;
size?: string | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sm";
};
export declare const Avatar: ({ name, tailwind, className, children, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarBadge: ({ name, size, tailwind, className, children, ...props }: AvatarBadgeProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarImg: ({ name, alt, size, tailwind, className, ...props }: AvatarImgProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarBody: ({ name, tailwind, className, children, ...props }: AvatarBodyProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarTitle: ({ name, size, tailwind, className, children, ...props }: AvatarTitleProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarText: ({ name, tailwind, className, children, ...props }: AvatarTextProps) => import("react/jsx-runtime").JSX.Element;
export declare const AvatarActions: ({ name, tailwind, className, children, ...props }: AvatarActionsProps) => import("react/jsx-runtime").JSX.Element;
export {};