@playbooks/ui
Version:
An interface library for Playbooks.
44 lines (40 loc) • 1.66 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 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 declare const Btn: (props: any) => import("react/jsx-runtime").JSX.Element;
export declare const PrimaryBtn: ({ name, size, active, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const AccentBtn: ({ name, size, active, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const BorderBtn: ({ name, size, active, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const TabBtn: ({ name, size, active, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const TextBtn: ({ name, size, active, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const BtnWrapper: ({ type, name, alt, disabled, taskRunning, children, tailwind, className, ...props }: BtnProps) => import("react/jsx-runtime").JSX.Element;
export {};