vueless
Version:
Vue Styleless UI Component Library, powered by Tailwind CSS.
32 lines (25 loc) • 519 B
text/typescript
import defaultConfig from "./config.ts";
import type { ComponentConfig } from "../types.ts";
export type Config = typeof defaultConfig;
export interface Props {
/**
* Empty state title.
*/
title?: string;
/**
* Empty state description.
*/
description?: string;
/**
* Empty state size.
*/
size?: "sm" | "md" | "lg";
/**
* Component config object.
*/
config?: ComponentConfig<Config>;
/**
* Data-test attribute for automated testing.
*/
dataTest?: string | null;
}