@youwen/ai-design-system
Version:
Enterprise AI-driven design system with comprehensive design tokens
20 lines (19 loc) • 1.21 kB
TypeScript
import * as React from "react";
import { type VariantProps } from "class-variance-authority";
declare const widgetModuleListVariants: (props?: ({
size?: "auto" | "standard" | null | undefined;
padding?: "base" | "none" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export interface WidgetModuleListProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof widgetModuleListVariants> {
items?: Array<{
icon?: React.ReactNode;
title1: string;
title2?: string;
description: string | number;
}>;
layout?: "leftTop" | "rightTop" | "leftBottom" | "rightBottom" | "leftTop,rightTop" | "leftTop,leftBottom" | "leftTop,rightBottom" | "rightTop,leftBottom" | "rightTop,rightBottom" | "leftBottom,rightBottom" | "leftTop,rightTop,leftBottom" | "leftTop,rightTop,rightBottom" | "leftTop,leftBottom,rightBottom" | "rightTop,leftBottom,rightBottom" | "all";
size?: "standard" | "auto";
padding?: "none" | "base";
}
declare const WidgetModuleList: React.ForwardRefExoticComponent<WidgetModuleListProps & React.RefAttributes<HTMLDivElement>>;
export { WidgetModuleList, widgetModuleListVariants };