UNPKG

vueless

Version:

Vue Styleless UI Component Library, powered by Tailwind CSS.

36 lines (30 loc) 587 B
import defaultConfig from "./config.ts"; import type { ComponentConfig } from "../types.ts"; export type Config = typeof defaultConfig; export interface Props { /** * Loader state (shown / hidden). */ loading?: boolean; /** * Loader color. */ color?: | "primary" | "secondary" | "error" | "warning" | "success" | "info" | "notice" | "neutral" | "grayscale"; /** * Component config object. */ config?: ComponentConfig<Config>; /** * Data-test attribute for automated testing. */ dataTest?: string | null; }