UNPKG

vueless

Version:

Vue Styleless UI Component Library, powered by Tailwind CSS.

37 lines (29 loc) 613 B
import defaultConfig from "./config"; import type { ComponentConfig } from "../types"; export type Config = typeof defaultConfig; export interface Props { /** * Card title. */ title?: string; /** * Card description. */ description?: string; /** * Card variant. */ variant?: "solid" | "outlined" | "subtle" | "soft" | "inverted"; /** * Show divider between content and footer. */ divided?: boolean; /** * Component config object. */ config?: ComponentConfig<Config>; /** * Data-test attribute for automated testing. */ dataTest?: string | null; }