UNPKG

@kitn.ai/ui

Version:

Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.

14 lines (13 loc) 740 B
import { JSX } from 'solid-js'; import { VariantProps } from 'class-variance-authority'; declare const buttonVariants: (props?: ({ variant?: "default" | "ghost" | "subtle" | "outline" | "destructive" | null | undefined; size?: "sm" | "md" | "lg" | "icon" | "icon-sm" | null | undefined; align?: "end" | "start" | "center" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; export interface ButtonProps extends JSX.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { /** Stretch to the full width of the container (a block button). */ full?: boolean; } export declare function Button(props: ButtonProps): JSX.Element; export { buttonVariants };