@jay-js/ui
Version:
A library of UI components for Jay JS with Tailwind CSS and daisyUI.
10 lines (9 loc) • 522 B
TypeScript
import { TBase, TBaseTagMap } from "../Base/Base.types.js";
export type TCheckbox<T extends TBaseTagMap> = {
label?: string | Node | (string | Node)[];
checked?: boolean;
color?: "checkbox-primary" | "checkbox-secondary" | "checkbox-accent" | "checkbox-success" | "checkbox-warning" | "checkbox-info" | "checkbox-error";
size?: "checkbox-xl" | "checkbox-lg" | "checkbox-md" | "checkbox-sm" | "checkbox-xs";
position?: "checkbox-before" | "checkbox-after";
formControl?: TBase<"div">;
} & TBase<T>;