Skip to content

Commit eaac9e9

Browse files
Adds App UI and Types to exports (#582)
* Add some exports * add changeset * more exports
1 parent a4859ce commit eaac9e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/something-something.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ladle/react": patch
3+
---
4+
5+
Adds App UI and Icons, and types to exports.

packages/ladle/lib/app/exports.ts

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import * as msw from "msw";
1717
export { msw };
1818

1919
export type { UserConfig } from "../shared/types";
20+
export * as ui from "./src/ui";
21+
export * as dialog from "./src/dialog";
22+
export * as icons from "./src/icons";
2023
export { useMDXComponents } from "@mdx-js/react";
2124
export const Story = (props: any) => props.children;
2225
export const Meta = (props: any) => props.children;
@@ -56,6 +59,8 @@ export const action = (name: string) => {
5659
});
5760
};
5861

62+
export type { GlobalAction, GlobalState };
63+
5964
export type GlobalProvider = React.FC<{
6065
globalState: GlobalState;
6166
dispatch: React.Dispatch<GlobalAction>;

0 commit comments

Comments
 (0)