@playbooks/ui
Version:
An interface library for Playbooks.
64 lines (60 loc) • 2.05 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 AccordionProps = HtmlProps & {
open?: boolean;
};
export type AccordionToggleProps = BtnProps & {
open?: boolean;
variant?: string;
onClick: (v?: any) => any;
};
export type AccordionTitleProps = FontProps & {
icon?: string;
};
export type AccordionBodyProps = HtmlProps & {
open?: boolean;
animate?: boolean;
};
export type AccordionTextProps = HtmlProps & {
size?: string;
};
export type BtnProps = HtmlProps & {
type?: "button" | "submit" | "reset";
alt?: string;
size?: string;
active?: boolean;
prevIcon?: any;
prevImg?: any;
icon?: any;
img?: any;
nextIcon?: any;
nextImg?: any;
span?: any;
disabled?: boolean;
taskRunning?: boolean;
};
export type FontProps = HtmlProps & {
id?: string;
size?: string | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sm";
};
export declare const Accordion: ({ name, open, tailwind, className, children, ...props }: AccordionProps) => import("react/jsx-runtime").JSX.Element;
export declare const AccordionToggle: ({ id, name, variant, nextIcon, open, onClick, tailwind, className, children, ...props }: AccordionToggleProps) => import("react/jsx-runtime").JSX.Element;
export declare const AccordionTitle: ({ name, size, tailwind, className, children, ...props }: AccordionTitleProps) => import("react/jsx-runtime").JSX.Element;
export declare const AccordionBody: ({ name, open, animate, tailwind, className, children, ...props }: AccordionBodyProps) => import("react/jsx-runtime").JSX.Element;
export declare const AccordionText: ({ name, tailwind, className, children, ...props }: AccordionTextProps) => import("react/jsx-runtime").JSX.Element;
export {};