@jay-js/ui
Version:
A library of UI components for Jay JS with Tailwind CSS and daisyUI.
9 lines (8 loc) • 319 B
TypeScript
import { TBase, TBaseTagMap } from "../Base/Base.types.js";
export type TToast<T extends TBaseTagMap> = {
horizontal?: "toast-start" | "toast-center" | "toast-end";
vertical?: "toast-top" | "toast-middle" | "toast-bottom";
duration?: number;
asChild?: boolean;
children?: HTMLElement;
} & TBase<T>;