Exports Components
This commit is contained in:
@@ -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 Form } from "../src/components/Form.astro";
|
||||||
export { default as Field } from "../src/components/Field.astro";
|
export { default as Field } from "../src/components/Field.astro";
|
||||||
export { default as MultiSelect } from "../src/components/MultiSelect.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";
|
export { cn } from "../src/utils/cn.js";
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@@ -19,6 +21,8 @@ export const Button: any;
|
|||||||
export const Form: any;
|
export const Form: any;
|
||||||
export const Field: any;
|
export const Field: any;
|
||||||
export const MultiSelect: any;
|
export const MultiSelect: any;
|
||||||
|
export const ThemeSwitcher: any;
|
||||||
|
export const ColorSwitcher: any;
|
||||||
export function cn(...classes: Array<string | number | false | null | undefined>): string;
|
export function cn(...classes: Array<string | number | false | null | undefined>): string;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@ export { default as Button } from "./components/Button.astro";
|
|||||||
export { default as Form } from "./components/Form.astro";
|
export { default as Form } from "./components/Form.astro";
|
||||||
export { default as Field } from "./components/Field.astro";
|
export { default as Field } from "./components/Field.astro";
|
||||||
export { default as MultiSelect } from "./components/MultiSelect.astro";
|
export { default as MultiSelect } from "./components/MultiSelect.astro";
|
||||||
|
export { default as ThemeSwitcher } from "./components/ThemeSwitcher.astro";
|
||||||
|
export { default as ColorSwitcher } from "./components/ColorSwitcher.astro";
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
export { cn } from "./utils/cn";
|
export { cn } from "./utils/cn";
|
||||||
Reference in New Issue
Block a user