propro-common-components 0.1.242 → 0.1.244
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.
@@ -1,2 +1,9 @@
|
|
1
|
-
|
1
|
+
import { ViewItem } from '.';
|
2
|
+
|
3
|
+
export interface AccountManagementProps {
|
4
|
+
setCurrentView: (view: string) => void;
|
5
|
+
currentView: string;
|
6
|
+
viewItems: ViewItem[];
|
7
|
+
}
|
8
|
+
declare const AccountManagement: React.FC<AccountManagementProps>;
|
2
9
|
export default AccountManagement;
|
@@ -1,3 +1,14 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
2
|
+
|
3
|
+
export interface ViewItem {
|
4
|
+
view: string;
|
5
|
+
icon: IconDefinition;
|
6
|
+
component: React.ComponentType;
|
7
|
+
isGeneral?: boolean;
|
8
|
+
}
|
9
|
+
interface AccountManagementComponentProps {
|
10
|
+
viewItems: ViewItem[];
|
11
|
+
}
|
12
|
+
export declare const AccountManagementComponent: React.FC<AccountManagementComponentProps>;
|
13
|
+
declare const Index: ({ viewItems }: AccountManagementComponentProps) => import("react/jsx-runtime").JSX.Element;
|
3
14
|
export default Index;
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import { ViewItem } from '../AccountManagement';
|
1
2
|
|
2
|
-
declare const AvatarMenu: import('react').MemoExoticComponent<(
|
3
|
+
declare const AvatarMenu: import('react').MemoExoticComponent<({ viewItems }: {
|
4
|
+
viewItems: ViewItem[];
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
3
6
|
export default AvatarMenu;
|