UNPKG

@youwen/ai-design-system

Version:

Enterprise AI-driven design system with comprehensive design tokens

21 lines (20 loc) 1.25 kB
import * as React from "react"; import { type VariantProps } from "class-variance-authority"; declare const moduleGraphDefaultVariants: (props?: ({ size?: "auto" | "standard" | null | undefined; padding?: "base" | "none" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface ModuleGraphDefaultProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof moduleGraphDefaultVariants> { graphTitle?: React.ReactNode; dataPoints?: Array<{ label: string; value: number; }>; graphType?: "line" | "bar" | "area"; showAxes?: boolean; 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 ModuleGraphDefault: React.ForwardRefExoticComponent<ModuleGraphDefaultProps & React.RefAttributes<HTMLDivElement>>; export { ModuleGraphDefault, moduleGraphDefaultVariants };