UNPKG

@playbooks/ui

Version:

An interface library for Playbooks.

67 lines (63 loc) 2.19 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 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 TabWrapperProps = HtmlProps; export type TabSelectProps = HtmlProps & { tabs?: string[]; activeTab?: string; onSelect: (v: any) => any; }; export type TabPropss = HtmlProps & { tabs?: string[]; activeTab?: string; onSelect: (v: string) => any; }; export type TabProps = BtnProps & { alt?: string; active?: boolean; value?: string; variant?: string; onSelect: (v: string) => any; children: any; }; export type TabPanesProps = HtmlProps; export type TabPaneProps = HtmlProps & { active?: boolean; value?: string; }; export declare const TabWrapper: ({ name, tailwind, className, children, ...props }: TabWrapperProps) => import("react/jsx-runtime").JSX.Element; export declare const TabSelect: ({ name, activeTab, onSelect, tabs, tailwind, className, children, ...props }: TabSelectProps) => import("react/jsx-runtime").JSX.Element; export declare const Tabs: ({ name, activeTab, tabs, onSelect, tailwind, className, children, ...props }: TabPropss) => import("react/jsx-runtime").JSX.Element; export declare const Tab: ({ name, alt, variant, size, active, value, onSelect, tailwind, className, children, ...props }: TabProps) => import("react/jsx-runtime").JSX.Element; export declare const TabPanes: ({ name, tailwind, className, children, ...props }: TabPanesProps) => import("react/jsx-runtime").JSX.Element; export declare const TabPane: ({ name, active, value, tailwind, className, children, ...props }: TabPaneProps) => import("react/jsx-runtime").JSX.Element; export {};