ui-next: restructure registry context

This commit is contained in:
Baoshuo committed 2026-05-10 01:12:47 +08:00
1 parent 950910fa17
commit f753d1b16e
4 files changed
+23 -22

No files matched your search

+8 -4
View File
@@ -1,4 +1,8 @@
export type { Context } from './src/context';
export { usePageData } from './src/context/pageData';
export type { PageData } from './src/context/pageData';
export type { ComponentName } from './src/registry';
// Context
export { type PageData, usePageData } from './src/context/pageData';
// Hooks
export { useUrl } from './src/hooks/useUrl';
// Registry
export type { ComponentName, RegistryContext } from './src/registry';