@shophost/react 2.0.42 → 2.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import { RouteView } from '../../router/resolve';
2
+ interface AdminBreadcrumbsProps {
3
+ view: RouteView;
4
+ }
5
+ export declare function AdminBreadcrumbs({ view }: AdminBreadcrumbsProps): import("react/jsx-runtime").JSX.Element | null;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { RouteView } from './resolve';
2
+ import { AdminRoutes } from './routes';
3
+ export interface AdminBreadcrumbItem {
4
+ label: string;
5
+ href?: string;
6
+ }
7
+ export declare function getAdminBreadcrumbs(view: RouteView, routes: AdminRoutes): AdminBreadcrumbItem[];
@@ -1,4 +1,6 @@
1
1
  import { default as React } from 'react';
2
- export declare function AdminShell({ children }: {
2
+ import { RouteView } from '../../router/resolve';
3
+ export declare function AdminShell({ children, view, }: {
3
4
  children: React.ReactNode;
5
+ view: RouteView;
4
6
  }): import("react/jsx-runtime").JSX.Element;