UNPKG

@playbooks/ui

Version:

An interface library for Playbooks.

48 lines (44 loc) 1.79 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 SwitchGroupProps = HtmlProps; export type SwitchProps = HtmlProps & { icon?: string; checked: boolean; onClick: (v?: any) => any; }; export type SwitchBackdropProps = HtmlProps & { checked?: boolean; }; export type SwitchInnerProps = HtmlProps & { checked: boolean; }; export type SwitchToggleProps = HtmlProps & { icon?: string; checked: boolean; }; export type SwitchLabelProps = HtmlProps & { active?: boolean; htmlFor?: string; }; export declare const SwitchGroup: ({ name, tailwind, className, children, ...props }: SwitchGroupProps) => import("react/jsx-runtime").JSX.Element; export declare const Switch: ({ name, icon, checked, onClick, tailwind, className, ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element; export declare const SwitchBackdrop: ({ name, checked, tailwind, className, ...props }: SwitchBackdropProps) => import("react/jsx-runtime").JSX.Element; export declare const SwitchInner: ({ name, checked, tailwind, className, ...props }: SwitchInnerProps) => import("react/jsx-runtime").JSX.Element; export declare const SwitchToggle: ({ name, icon, checked, tailwind, className, ...props }: SwitchToggleProps) => import("react/jsx-runtime").JSX.Element; export declare const SwitchLabel: ({ id, name, htmlFor, tailwind, className, children, ...props }: SwitchLabelProps) => import("react/jsx-runtime").JSX.Element; export {};