UNPKG

trae-ui

Version:

Trae UI is a modern, highly customizable, and accessible UI component library for React and Next.js, built with TailwindCSS and TypeScript. It offers a responsive, reusable, and developer-friendly set of components to accelerate building visually stunning

15 lines (14 loc) 445 B
import React from "react"; interface SwitchProps { checked?: boolean; onCheckedChange?: (checked: boolean) => void; size?: "sm" | "md" | "lg"; disabled?: boolean; readOnly?: boolean; required?: boolean; color?: "primary" | "secondary" | "danger" | "warning" | "info" | "success" | "foreground"; className?: string; thumbIcon?: React.ReactNode; } export declare const Switch: React.FC<SwitchProps>; export {};