vueless
Version:
Vue Styleless UI Component Library, powered by Tailwind CSS.
42 lines (33 loc) • 639 B
text/typescript
import defaultConfig from "./config.ts";
import type { ComponentConfig } from "../types.ts";
export type Config = typeof defaultConfig;
export interface Props {
/**
* Accordion title.
*/
title?: string;
/**
* Accordion description.
*/
description?: string;
/**
* Accordion size.
*/
size?: "sm" | "md" | "lg";
/**
* Accordion toggle icon.
*/
toggleIcon?: boolean | string;
/**
* Unique element id.
*/
id?: string;
/**
* Component config object.
*/
config?: ComponentConfig<Config>;
/**
* Data-test attribute for automated testing.
*/
dataTest?: string | null;
}