@playbooks/ui
Version:
An interface library for Playbooks.
73 lines (69 loc) • 2.43 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 type LinkProps = HtmlProps & {
alt?: string;
active?: boolean;
size?: string;
prevIcon?: any;
prevImg?: any;
icon?: any;
img?: any;
nextIcon?: any;
nextImg?: any;
span?: any;
href?: string;
disabled?: boolean;
target?: "_self" | "_blank";
taskRunning?: boolean;
};
export type NavProps = HtmlProps;
export type NavHeaderProps = HtmlProps;
export type NavTitleProps = HtmlProps;
export type NavBodyProps = HtmlProps;
export type NavListProps = HtmlProps;
export type NavItemProps = HtmlProps;
export type NavBtnProps = BtnProps & {
variant?: string;
};
export type NavLinkProps = LinkProps & {
variant?: string;
};
export declare const Nav: ({ name, tailwind, className, children, ...props }: NavProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavHeader: ({ name, tailwind, className, children, ...props }: NavHeaderProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavTitle: ({ name, size, tailwind, className, children, ...props }: NavTitleProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavBody: ({ name, size, tailwind, className, children, ...props }: NavBodyProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavList: ({ tailwind, children, ...props }: NavListProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavItem: ({ tailwind, children, ...props }: NavItemProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavBtn: ({ name, tailwind, className, children, ...props }: NavBtnProps) => import("react/jsx-runtime").JSX.Element;
export declare const NavLink: ({ name, tailwind, className, children, ...props }: NavLinkProps) => import("react/jsx-runtime").JSX.Element;
export {};