Exports Components

This commit is contained in:
2025-08-16 22:52:33 +05:30
parent dd81d5cdb7
commit 1403bbba1b
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -10,6 +10,8 @@ export { default as Button } from "../src/components/Button.astro";
export { default as Form } from "../src/components/Form.astro";
export { default as Field } from "../src/components/Field.astro";
export { default as MultiSelect } from "../src/components/MultiSelect.astro";
export { default as ThemeSwitcher } from "../src/components/ThemeSwitcher.astro";
export { default as ColorSwitcher } from "../src/components/ColorSwitcher.astro";
export { cn } from "../src/utils/cn.js";
`;
@@ -19,6 +21,8 @@ export const Button: any;
export const Form: any;
export const Field: any;
export const MultiSelect: any;
export const ThemeSwitcher: any;
export const ColorSwitcher: any;
export function cn(...classes: Array<string | number | false | null | undefined>): string;
`;