@edvisor/product-language 0.11.41 → 0.11.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 @@
|
|
|
1
|
+
export * from './page-header';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FC, PropsWithChildren, Slot } from '@helpers';
|
|
3
|
+
export interface IPageHeaderProps extends PropsWithChildren {
|
|
4
|
+
title: string;
|
|
5
|
+
thumbnailUrl?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
interface INavigationProps {
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
declare class Navigation extends Slot<INavigationProps> {
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
declare class Controls extends Slot {
|
|
17
|
+
}
|
|
18
|
+
declare class Metadata extends Slot {
|
|
19
|
+
}
|
|
20
|
+
declare type SubComponents = {
|
|
21
|
+
Navigation: typeof Navigation;
|
|
22
|
+
Controls: typeof Controls;
|
|
23
|
+
Metadata: typeof Metadata;
|
|
24
|
+
};
|
|
25
|
+
export declare const PageHeader: FC<IPageHeaderProps, SubComponents>;
|
|
26
|
+
export {};
|