@playbooks/ui
Version:
An interface library for Playbooks.
44 lines (40 loc) • 1.58 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 FontProps = HtmlProps & {
id?: string;
size?: string | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "sm";
};
export type RadioWrapperProps = HtmlProps & {
active?: boolean;
onClick: () => any;
};
export type RadioProps = HtmlProps & {
title: string;
value: any;
text?: string;
onClick: () => any;
};
export type RadioInputProps = HtmlProps & {
value: boolean;
};
export declare const RadioWrapper: ({ id, name, active, onClick, tailwind, className, children, ...props }: RadioWrapperProps) => import("react/jsx-runtime").JSX.Element;
export declare const Radio: ({ name, title, text, value, onClick, tailwind, className, children, ...props }: RadioProps) => import("react/jsx-runtime").JSX.Element;
export declare const RadioInput: ({ id, name, value, tailwind, className, children, ...props }: RadioInputProps) => import("react/jsx-runtime").JSX.Element;
export declare const RadioTitle: ({ name, tailwind, className, children, ...props }: FontProps) => import("react/jsx-runtime").JSX.Element;
export declare const RadioText: ({ name, tailwind, className, children, ...props }: FontProps) => import("react/jsx-runtime").JSX.Element;
export {};