UNPKG

@jay-js/ui

Version:

A library of UI components for Jay JS with Tailwind CSS and daisyUI.

13 lines (12 loc) 566 B
import { TBase, TBaseTagMap } from "../Base/Base.types.js"; export type TButton<T extends TBaseTagMap> = { size?: "btn-xl" | "btn-lg" | "btn-md" | "btn-sm" | "btn-xs"; format?: "btn-circle" | "btn-square"; color?: "btn-primary" | "btn-secondary" | "btn-accent" | "btn-info" | "btn-success" | "btn-warning" | "btn-error"; variant?: "btn-ghost" | "btn-link" | "btn-outline" | "btn-dash" | "btn-soft"; active?: "btn-active" | "btn-disabled"; glass?: boolean; ripple?: boolean; fullWidth?: boolean; animation?: boolean; } & TBase<T>;