Skip to content

Commit 567a657

Browse files
committed
updated
1 parent 13e535d commit 567a657

File tree

15 files changed

+17631
-2
lines changed

15 files changed

+17631
-2
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pnpm-debug.log*
88
lerna-debug.log*
99

1010
node_modules
11-
dist
1211
dist-ssr
1312
*.local
1413

dist/App.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function App(): import("react/jsx-runtime").JSX.Element;
2+
export default App;

dist/components/Logo.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as React from "react";
2+
type LogoProps = {
3+
children: React.ReactNode;
4+
img?: string;
5+
};
6+
declare const Logo: ({ children, img }: LogoProps) => import("react/jsx-runtime").JSX.Element;
7+
export { Logo };

dist/components/Menu.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as React from 'react';
2+
type MenuProps = {
3+
children: React.ReactNode;
4+
subHeading?: string;
5+
};
6+
declare const Menu: ({ children, subHeading }: MenuProps) => import("react/jsx-runtime").JSX.Element;
7+
export { Menu };

dist/components/MenuItem.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import * as React from "react";
2+
type MenuItemProps = {
3+
children: React.ReactNode;
4+
icon?: React.ReactNode;
5+
link?: string;
6+
badge?: boolean;
7+
badgeColor?: "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
8+
badgeContent?: string;
9+
textFontSize?: string;
10+
borderRadius?: string;
11+
disabled?: boolean;
12+
badgeType?: "filled" | "outlined";
13+
target?: string;
14+
};
15+
declare const MenuItem: ({ children, icon, link, badge, badgeColor, badgeContent, textFontSize, borderRadius, disabled, badgeType, target, }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
16+
export { MenuItem };

dist/components/Sidebar.d.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import * as React from "react";
2+
type SidebarProps = {
3+
children: React.ReactNode;
4+
width?: string;
5+
collapsewidth?: string;
6+
textColor?: string;
7+
isCollapse?: boolean;
8+
themeColor?: string;
9+
themeSecondaryColor?: string;
10+
mode?: "light" | "dark";
11+
direction?: "ltr" | "rtl";
12+
userName?: string;
13+
designation?: string;
14+
showProfile?: boolean;
15+
userimg?: string;
16+
onLogout?: () => void;
17+
};
18+
export declare const SidebarContext: React.Context<{
19+
width: string;
20+
collapsewidth: string;
21+
textColor: string;
22+
isCollapse: boolean;
23+
themeColor: string;
24+
}>;
25+
declare const Sidebar: ({ children, width, collapsewidth, textColor, isCollapse, themeColor, themeSecondaryColor, mode, direction, userName, designation, showProfile, userimg, onLogout }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
26+
export { Sidebar };

dist/components/Submenu.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import * as React from "react";
2+
type SubmenuProps = {
3+
children: React.ReactNode;
4+
title?: string;
5+
icon?: React.ReactNode;
6+
borderRadius?: string;
7+
textFontSize?: string;
8+
disabled?: boolean;
9+
};
10+
declare const Submenu: ({ children, title, icon, borderRadius, textFontSize, disabled, }: SubmenuProps) => import("react/jsx-runtime").JSX.Element;
11+
export { Submenu };

dist/components/UserProfile.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
interface ProfileProps {
2+
userName?: string;
3+
designation?: string;
4+
userimg?: string;
5+
isCollapse?: boolean;
6+
onLogout?: () => void;
7+
}
8+
declare const Profile: ({ userName, designation, userimg, isCollapse, onLogout }: ProfileProps) => import("react/jsx-runtime").JSX.Element;
9+
export { Profile };

dist/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export { Sidebar } from './components/Sidebar';
2+
export { Menu } from './components/Menu';
3+
export { Submenu } from './components/Submenu';
4+
export { MenuItem } from './components/MenuItem';
5+
export { Logo } from './components/Logo';

0 commit comments

Comments
 (0)