UNPKG

vueless

Version:

Vue Styleless UI Component Library, powered by Tailwind CSS.

62 lines (50 loc) 909 B
import defaultConfig from "./config"; import type { ComponentConfig } from "../types"; export type Config = typeof defaultConfig; export interface Props { /** * Divider label. */ label?: string; /** * Icon name (appears instead of the label). */ icon?: string; /** * Divider padding size. */ size?: "xs" | "sm" | "md" | "lg" | "xl"; /** * Divider color. */ color?: | "primary" | "secondary" | "error" | "warning" | "success" | "info" | "notice" | "neutral" | "grayscale"; /** * Set line dashed. */ dashed?: boolean; /** * Set line dotted. */ dotted?: boolean; /** * Set divider vertically orientated. */ vertical?: boolean; /** * Component config object. */ config?: ComponentConfig<Config>; /** * Data-test attribute for automated testing. */ dataTest?: string | null; }