vueless
Version:
Vue Styleless UI Component Library, powered by Tailwind CSS.
38 lines (29 loc) • 610 B
text/typescript
import defaultConfig from "./config";
import type { ComponentConfig } from "../types";
export type Config = typeof defaultConfig;
export interface Props {
/**
* Header lines amount.
*/
headerLines?: number;
/**
* Text lines amount.
*/
textLines?: number;
/**
* Input size.
*/
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
/**
* Brightness variant.
*/
variant?: "light" | "default" | "dark";
/**
* Component config object.
*/
config?: ComponentConfig<Config>;
/**
* Data-test attribute for automated testing.
*/
dataTest?: string | null;
}