hextaui
Version:
Build stunning websites effortlessly. HextaUI CLI tool to easily install components for Next.js, Vite, and Astro projects.
25 lines (24 loc) • 744 B
TypeScript
import { FrameworkType } from "../utils/project.js";
export interface Component {
name: string;
description: string;
files: ComponentFile[];
dependencies?: string[];
requiredComponents?: string[];
frameworkSpecific?: Partial<Record<FrameworkType, ComponentOverride>>;
}
export interface ComponentOverride {
files?: ComponentFile[];
dependencies?: string[];
requiredComponents?: string[];
}
export interface ComponentFile {
path: string;
url: string;
type: "file" | "folder";
}
export declare const COMPONENTS: Component[];
/**
* Get component configuration for a specific framework
*/
export declare function getComponentForFramework(component: Component, framework: FrameworkType): Component;