@starasia/admin 1.2.4 → 1.2.5
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.
- package/dist/components/AppLayout/index.d.ts +34 -0
- package/dist/components/ModuleSwitcherModal/index.d.ts +15 -0
- package/dist/components/SidebarHeaderSlot/index.d.ts +31 -0
- package/dist/components/index.d.ts +3 -4
- package/dist/entries/App/context.d.ts +12 -10
- package/dist/entries/App/hooks.d.ts +1 -1
- package/dist/entries/App/index.d.ts +9 -11
- package/dist/hooks/useDynamicTitle.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +4198 -4980
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/menu.d.ts +29 -0
- package/package.json +1 -1
- package/dist/components/ContentLayout/index.d.ts +0 -10
- package/dist/components/ContentLayoutV2/index.d.ts +0 -10
- package/dist/components/DashboardLayout/index.d.ts +0 -34
- package/dist/components/Header/MenuSelectButton.d.ts +0 -16
- package/dist/components/Header/MobileBottomDrawer.d.ts +0 -9
- package/dist/components/Header/PhotoProfile.d.ts +0 -11
- package/dist/components/Header/hooks.d.ts +0 -4
- package/dist/components/Header/index.d.ts +0 -37
- package/dist/components/HeaderV2/components/PhotoProfile.d.ts +0 -11
- package/dist/components/HeaderV2/components/UserProfile.d.ts +0 -9
- package/dist/components/HeaderV2/hooks.d.ts +0 -4
- package/dist/components/HeaderV2/index.d.ts +0 -6
- package/dist/components/Sidebar/components/Group.d.ts +0 -9
- package/dist/components/Sidebar/components/Item.d.ts +0 -13
- package/dist/components/Sidebar/components/Provider.d.ts +0 -5
- package/dist/components/Sidebar/components/Wrapper.d.ts +0 -10
- package/dist/components/Sidebar/context.d.ts +0 -32
- package/dist/components/Sidebar/hooks.d.ts +0 -4
- package/dist/components/Sidebar/index.d.ts +0 -15
- package/dist/components/Sidebar/types.d.ts +0 -18
- package/dist/components/SidebarV2/components/Group.d.ts +0 -7
- package/dist/components/SidebarV2/components/Item.d.ts +0 -7
- package/dist/components/SidebarV2/components/Wrapper.d.ts +0 -7
- package/dist/components/SidebarV2/index.d.ts +0 -7
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--starasia-admin-base-icon-color: var(--starasia-ui-color-gray-600);--starasia-admin-document-bg-color: var(--starasia-ui-color-gray-100);--starasia-admin-sidebar-max-width: 15rem;--starasia-admin-sidebar-width: 15rem;--starasia-admin-sidebar-collapse-width: 0rem;--starasia-admin-sidebar-v2-collapse-width: 3rem}*::-webkit-scrollbar{display:none}html{scrollbar-width:none}body{-ms-overflow-style:none}body{background-color:var(--starasia-admin-document-bg-color)}*{font-family:Poppins,sans-serif!important}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}svg{color:var(--starasia-admin-base-icon-color)}[data-class=otp-input] .starasia-input{text-align:center}[data-class=otp-input] .starasia-input-placeholder{width:100%;text-align:center;flex:1;left:0}#sidebar-wrapper{scrollbar-width:none;-ms-overflow-style:none}#sidebar-wrapper::-webkit-scrollbar{display:none}.starasia-pagination-item.starasia-pagination-selected{color:#fff!important}.starasia-pagination-selected{background-color:var(--starasia-ui-brand-primary-default)!important;border-radius:8px!important}.starasia-pagination-item{border-radius:8px!important;height:32px!important;width:32px!important;text-align:center;display:flex;align-items:center;justify-content:center}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes fadeInOut{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@keyframes bounce{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-10px);opacity:1}}
|
|
1
|
+
:root{--starasia-admin-base-icon-color: var(--starasia-ui-color-gray-600);--starasia-admin-document-bg-color: var(--starasia-ui-color-gray-100);--starasia-admin-header-height: 64px;--starasia-admin-sidebar-max-width: 15rem;--starasia-admin-sidebar-width: 15rem;--starasia-admin-sidebar-collapse-width: 0rem;--starasia-admin-sidebar-v2-collapse-width: 3rem}*::-webkit-scrollbar{display:none}html{scrollbar-width:none}body{-ms-overflow-style:none}body{background-color:var(--starasia-admin-document-bg-color)}*{font-family:Poppins,sans-serif!important}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}svg{color:var(--starasia-admin-base-icon-color)}[data-class=otp-input] .starasia-input{text-align:center}[data-class=otp-input] .starasia-input-placeholder{width:100%;text-align:center;flex:1;left:0}#sidebar-wrapper{scrollbar-width:none;-ms-overflow-style:none}#sidebar-wrapper::-webkit-scrollbar{display:none}.starasia-pagination-item.starasia-pagination-selected{color:#fff!important}.starasia-pagination-selected{background-color:var(--starasia-ui-brand-primary-default)!important;border-radius:8px!important}.starasia-pagination-item{border-radius:8px!important;height:32px!important;width:32px!important;text-align:center;display:flex;align-items:center;justify-content:center}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes fadeInOut{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@keyframes bounce{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-10px);opacity:1}}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IconName } from '@starasia/icon/dist/types';
|
|
2
|
+
|
|
3
|
+
export interface HeaderUserData {
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
photoURL?: string;
|
|
7
|
+
role?: string;
|
|
8
|
+
descriptionOption?: "role" | "email";
|
|
9
|
+
}
|
|
10
|
+
export interface SidebarMenuChildItem {
|
|
11
|
+
id: number;
|
|
12
|
+
title: string;
|
|
13
|
+
to: string;
|
|
14
|
+
icon: IconName;
|
|
15
|
+
}
|
|
16
|
+
export interface SidebarMenuItem {
|
|
17
|
+
id: number;
|
|
18
|
+
title: string;
|
|
19
|
+
to: string;
|
|
20
|
+
icon: IconName;
|
|
21
|
+
children?: SidebarMenuChildItem[];
|
|
22
|
+
}
|
|
23
|
+
export interface SidebarMenuGroup {
|
|
24
|
+
id: number;
|
|
25
|
+
name: string;
|
|
26
|
+
items: SidebarMenuItem[];
|
|
27
|
+
parentGroupId?: number;
|
|
28
|
+
}
|
|
29
|
+
export type SidebarMenus = SidebarMenuGroup[];
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@starasia/box';
|
|
2
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
interface ContentLayoutProps extends PropsWithChildren {
|
|
5
|
-
sidebarWidth?: string | number;
|
|
6
|
-
overflowContent?: BoxProps["overflow"];
|
|
7
|
-
isPadding?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const ContentLayout: React.MemoExoticComponent<({ children, sidebarWidth, overflowContent, isPadding, }: ContentLayoutProps) => React.JSX.Element>;
|
|
10
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@starasia/box';
|
|
2
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
interface ContentLayoutProps extends PropsWithChildren {
|
|
5
|
-
sidebarWidth?: string | number;
|
|
6
|
-
overflowContent?: BoxProps["overflow"];
|
|
7
|
-
isPadding?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const ContentLayoutV2: React.MemoExoticComponent<({ children, sidebarWidth, overflowContent, isPadding, }: ContentLayoutProps) => React.JSX.Element>;
|
|
10
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
-
import { HeaderButtonProps, HeaderUserData } from '../Header';
|
|
3
|
-
import { SidebarMenuItem, SidebarMenus } from '../Sidebar';
|
|
4
|
-
import { BoxProps } from '@starasia/box';
|
|
5
|
-
import { MenuSelectButtonProps } from '../Header/MenuSelectButton';
|
|
6
|
-
|
|
7
|
-
interface DashboardLayoutProps extends PropsWithChildren {
|
|
8
|
-
variant?: "default" | "simple";
|
|
9
|
-
userData?: HeaderUserData;
|
|
10
|
-
menus?: SidebarMenus;
|
|
11
|
-
menuBottom?: SidebarMenuItem[];
|
|
12
|
-
onClickLogout?: () => void;
|
|
13
|
-
logo?: {
|
|
14
|
-
url?: string;
|
|
15
|
-
name?: string;
|
|
16
|
-
props?: React.ImgHTMLAttributes<HTMLImageElement>;
|
|
17
|
-
onClick?: () => void;
|
|
18
|
-
to?: string;
|
|
19
|
-
};
|
|
20
|
-
headerButtons?: HeaderButtonProps[];
|
|
21
|
-
headerButtonsLeft?: HeaderButtonProps[];
|
|
22
|
-
sidebar?: {
|
|
23
|
-
maxWidth?: React.CSSProperties["maxWidth"];
|
|
24
|
-
header?: React.ReactNode;
|
|
25
|
-
};
|
|
26
|
-
overflowContent?: BoxProps["overflow"];
|
|
27
|
-
logoutButton?: React.ReactNode;
|
|
28
|
-
menuSelectButtons?: MenuSelectButtonProps[];
|
|
29
|
-
menuSelectCustom?: React.ReactNode;
|
|
30
|
-
paddingContent?: boolean;
|
|
31
|
-
bottomDrawerContent?: React.ReactNode;
|
|
32
|
-
}
|
|
33
|
-
export declare const DashboardLayout: React.MemoExoticComponent<({ userData, menus, menuBottom, children, logo, headerButtons, onClickLogout, sidebar, overflowContent, logoutButton, headerButtonsLeft, menuSelectButtons, menuSelectCustom, paddingContent, bottomDrawerContent, variant: variantProp, }: DashboardLayoutProps) => React.JSX.Element>;
|
|
34
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconName } from '@starasia/icon';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
import { TextColor } from '@starasia/text';
|
|
4
|
-
|
|
5
|
-
export type MenuSelectButtonProps = {
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
title: string;
|
|
8
|
-
icon: IconName;
|
|
9
|
-
iconProps?: {
|
|
10
|
-
color?: string;
|
|
11
|
-
};
|
|
12
|
-
titleProps?: {
|
|
13
|
-
color?: TextColor;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const MenuSelectButton: ({ onClick, icon, title, iconProps, titleProps, }: MenuSelectButtonProps) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
onHide: () => void;
|
|
5
|
-
onClickLogout?: () => void;
|
|
6
|
-
renderExtendedContent?: React.ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export declare const MobileBottomDrawer: ({ onHide, onClickLogout, renderExtendedContent, }: Props) => React.JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '@starasia/box';
|
|
3
|
-
|
|
4
|
-
type Props = {
|
|
5
|
-
width: BoxProps["width"];
|
|
6
|
-
height: BoxProps["height"];
|
|
7
|
-
photoURL?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const PhotoProfile: ({ width, height, photoURL, name }: Props) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { IconName } from '@starasia/icon/dist/types';
|
|
3
|
-
import { MenuSelectButtonProps } from './MenuSelectButton';
|
|
4
|
-
|
|
5
|
-
export interface HeaderUserData {
|
|
6
|
-
name: string;
|
|
7
|
-
email: string;
|
|
8
|
-
photoURL?: string;
|
|
9
|
-
role?: string;
|
|
10
|
-
descriptionOption?: "role" | "email";
|
|
11
|
-
}
|
|
12
|
-
export interface HeaderButtonProps {
|
|
13
|
-
icon?: IconName;
|
|
14
|
-
onClick?: () => void;
|
|
15
|
-
render?: React.ReactNode;
|
|
16
|
-
dot?: boolean;
|
|
17
|
-
boundaryLine?: boolean;
|
|
18
|
-
show?: "desktop" | "mobile";
|
|
19
|
-
}
|
|
20
|
-
export interface HeaderProps {
|
|
21
|
-
logo?: {
|
|
22
|
-
url?: string;
|
|
23
|
-
name?: string;
|
|
24
|
-
props?: React.ImgHTMLAttributes<HTMLImageElement>;
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
to?: string;
|
|
27
|
-
};
|
|
28
|
-
userData?: HeaderUserData;
|
|
29
|
-
buttons?: HeaderButtonProps[];
|
|
30
|
-
onClickLogout?: () => void;
|
|
31
|
-
logoutButton?: React.ReactNode;
|
|
32
|
-
buttonsLeft?: HeaderButtonProps[];
|
|
33
|
-
menuSelectButtons?: MenuSelectButtonProps[];
|
|
34
|
-
menuSelectCustom?: React.ReactNode;
|
|
35
|
-
bottomDrawerContent?: React.ReactNode;
|
|
36
|
-
}
|
|
37
|
-
export declare function Header({ userData, onClickLogout, logo, buttons, buttonsLeft, logoutButton, menuSelectButtons, menuSelectCustom, bottomDrawerContent, }: HeaderProps): React.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from '@starasia/box';
|
|
3
|
-
|
|
4
|
-
type Props = {
|
|
5
|
-
width: BoxProps["width"];
|
|
6
|
-
height: BoxProps["height"];
|
|
7
|
-
photoURL?: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const PhotoProfile: ({ width, height, photoURL, name }: Props) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { HeaderProps } from '../Header';
|
|
3
|
-
|
|
4
|
-
export interface HeaderV2Props extends HeaderProps {
|
|
5
|
-
}
|
|
6
|
-
export declare function HeaderV2({ userData, onClickLogout, logo, buttons, logoutButton, menuSelectButtons, menuSelectCustom, bottomDrawerContent, }: HeaderProps): React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
2
|
-
import { BoxProps } from '@starasia/box';
|
|
3
|
-
|
|
4
|
-
export interface GroupProps extends PropsWithChildren {
|
|
5
|
-
border?: boolean;
|
|
6
|
-
paddingTop?: BoxProps["paddingTop"];
|
|
7
|
-
}
|
|
8
|
-
declare const Group: React.MemoExoticComponent<({ children, border, paddingTop }: GroupProps) => React.JSX.Element>;
|
|
9
|
-
export default Group;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IconName } from '@starasia/icon/dist/types';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface ItemProps {
|
|
5
|
-
to: string;
|
|
6
|
-
title: string;
|
|
7
|
-
icon: IconName;
|
|
8
|
-
collapse?: boolean;
|
|
9
|
-
onHide?: () => void;
|
|
10
|
-
maxWidth?: React.CSSProperties["maxWidth"];
|
|
11
|
-
}
|
|
12
|
-
declare const Item: React.MemoExoticComponent<({ to, title, icon, collapse, onHide, maxWidth }: ItemProps) => React.JSX.Element>;
|
|
13
|
-
export default Item;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
-
import { SidebarMenuItem } from '../types';
|
|
3
|
-
|
|
4
|
-
export interface WrapperProps extends PropsWithChildren {
|
|
5
|
-
show?: boolean;
|
|
6
|
-
maxWidth?: React.CSSProperties["maxWidth"];
|
|
7
|
-
menuBottom?: SidebarMenuItem[];
|
|
8
|
-
}
|
|
9
|
-
declare const Wrapper: React.MemoExoticComponent<({ show, children, maxWidth, menuBottom }: WrapperProps) => React.JSX.Element>;
|
|
10
|
-
export default Wrapper;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface ConfirmationDialogPropsState {
|
|
4
|
-
show: boolean;
|
|
5
|
-
title: string | ReactNode;
|
|
6
|
-
message: string | ReactNode;
|
|
7
|
-
callback: () => void;
|
|
8
|
-
data?: unknown;
|
|
9
|
-
variant: "success" | "danger" | "info" | "default";
|
|
10
|
-
}
|
|
11
|
-
export interface ConfirmationDialogUnSavedChangesProps {
|
|
12
|
-
value: boolean;
|
|
13
|
-
title?: string | ReactNode;
|
|
14
|
-
message?: string | ReactNode;
|
|
15
|
-
callback?: () => void;
|
|
16
|
-
}
|
|
17
|
-
export interface SidebarContextValue {
|
|
18
|
-
show: boolean;
|
|
19
|
-
open: () => void;
|
|
20
|
-
close: () => void;
|
|
21
|
-
toggle: () => void;
|
|
22
|
-
setUnsavedChanges: ({ value, message, title, }: ConfirmationDialogUnSavedChangesProps) => void;
|
|
23
|
-
confirmNavigation: (callback: () => void) => void;
|
|
24
|
-
renderConfirmationDialog: ({ title, message, callback, data, }: Omit<ConfirmationDialogPropsState, "show" | "variant"> & {
|
|
25
|
-
variant?: "success" | "danger" | "info" | "default";
|
|
26
|
-
}) => void;
|
|
27
|
-
confirmationDialog: ConfirmationDialogPropsState;
|
|
28
|
-
handleDialogConfirm: () => void;
|
|
29
|
-
handleDialogCancel: () => void;
|
|
30
|
-
}
|
|
31
|
-
export declare const sidebarContextDefaultValue: SidebarContextValue;
|
|
32
|
-
export declare const SidebarContext: import('react').Context<SidebarContextValue>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SidebarMenuItem, SidebarMenus } from './types';
|
|
3
|
-
|
|
4
|
-
export interface SidebarProps {
|
|
5
|
-
menus: SidebarMenus;
|
|
6
|
-
menuBottom?: SidebarMenuItem[];
|
|
7
|
-
maxWidth?: React.CSSProperties["maxWidth"];
|
|
8
|
-
header?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const Sidebar: React.MemoExoticComponent<({ menus, maxWidth, header, menuBottom, }: SidebarProps) => React.JSX.Element>;
|
|
11
|
-
export * from './hooks';
|
|
12
|
-
export * from './context';
|
|
13
|
-
export * from './types';
|
|
14
|
-
export { SidebarProvider } from './components/Provider';
|
|
15
|
-
export type { SidebarProviderProps } from './components/Provider';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { IconName } from '@starasia/icon/dist/types';
|
|
2
|
-
|
|
3
|
-
export interface SidebarMenuItem {
|
|
4
|
-
id: number;
|
|
5
|
-
title: string;
|
|
6
|
-
to: string;
|
|
7
|
-
icon: IconName;
|
|
8
|
-
}
|
|
9
|
-
export interface SidebarMenuGroup {
|
|
10
|
-
id: number;
|
|
11
|
-
name: string;
|
|
12
|
-
items: SidebarMenuItem[];
|
|
13
|
-
}
|
|
14
|
-
export type SidebarMenus = SidebarMenuGroup[];
|
|
15
|
-
export declare enum SidebarStyle {
|
|
16
|
-
Width = "19.125rem",
|
|
17
|
-
WidthCollapse = "6rem"
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React, PropsWithChildren } from 'react';
|
|
2
|
-
import { GroupProps } from '../../Sidebar/components/Group';
|
|
3
|
-
|
|
4
|
-
interface GroupPropsV2 extends PropsWithChildren, GroupProps {
|
|
5
|
-
}
|
|
6
|
-
declare const GroupV2: React.MemoExoticComponent<({ children, border, paddingTop }: GroupPropsV2) => React.JSX.Element>;
|
|
7
|
-
export default GroupV2;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ItemProps } from '../../Sidebar/components/Item';
|
|
3
|
-
|
|
4
|
-
interface ItemPropsV2 extends ItemProps {
|
|
5
|
-
}
|
|
6
|
-
declare const ItemV2: React.MemoExoticComponent<({ to, title, collapse, onHide, maxWidth, icon }: ItemPropsV2) => React.JSX.Element>;
|
|
7
|
-
export default ItemV2;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, default as React } from 'react';
|
|
2
|
-
import { WrapperProps } from '../../Sidebar/components/Wrapper';
|
|
3
|
-
|
|
4
|
-
interface WrapperV2Props extends PropsWithChildren, WrapperProps {
|
|
5
|
-
}
|
|
6
|
-
declare const WrapperV2: React.MemoExoticComponent<({ show, children, maxWidth, menuBottom }: WrapperV2Props) => React.JSX.Element>;
|
|
7
|
-
export default WrapperV2;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SidebarProps } from '../Sidebar';
|
|
3
|
-
import { HeaderProps } from '../Header';
|
|
4
|
-
|
|
5
|
-
export interface SidebarV2Props extends SidebarProps, Pick<HeaderProps, "logo"> {
|
|
6
|
-
}
|
|
7
|
-
export declare const SidebarV2: React.MemoExoticComponent<({ menus, maxWidth, header, menuBottom, logo, }: SidebarV2Props) => React.JSX.Element>;
|