mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui-next: restructure registry context
This commit is contained in:
4 files changed
+23
-22
No files matched your search
@@ -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';
|
||||
Reference in new issue
Block a user