@gobolt/genesis 0.6.3 → 0.7.0

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,15 @@
1
+ import { default as React } from 'react';
2
+ import { BreadcrumbItem } from '../Breadcrumb/Breadcrumb.types';
3
+ import { OverflowMenuItemProps } from '../OverflowMenuItem';
4
+ export interface GlobalHeaderProps {
5
+ title?: string;
6
+ breadcrumbs?: BreadcrumbItem[];
7
+ onBack?: () => void;
8
+ menuItems?: OverflowMenuItemProps[];
9
+ primaryAction?: {
10
+ label: React.ReactNode;
11
+ onClick: () => void;
12
+ };
13
+ }
14
+ declare const GlobalHeader: ({ title, breadcrumbs, onBack, menuItems, primaryAction, }: GlobalHeaderProps) => import("react/jsx-runtime").JSX.Element;
15
+ export default GlobalHeader;
@@ -0,0 +1,2 @@
1
+ export { default } from './GlobalHeader';
2
+ export type { GlobalHeaderProps } from './GlobalHeader';
@@ -27,6 +27,8 @@ export { default as ErrorBoundaryFallback } from './ErrorBoundaryFallback';
27
27
  export type { ErrorBoundaryFallbackProps } from './ErrorBoundaryFallback';
28
28
  export { default as Form } from './Form';
29
29
  export type { FormProps } from './Form';
30
+ export { default as GlobalHeader } from './GlobalHeader';
31
+ export type { GlobalHeaderProps } from './GlobalHeader';
30
32
  export { default as UnitNumber } from './Glyph/custom/UnitNumber';
31
33
  export type { UnitNumberProps } from './Glyph/custom/UnitNumber';
32
34
  export { default as Input } from './Input';