react-frontend-common-components 0.0.1 → 0.0.2
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/index.d.ts +29 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +5 -0
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
2
|
import React$1, { ChangeEventHandler, MouseEventHandler, KeyboardEventHandler } from 'react';
|
3
|
-
import { TabsProps } from 'antd';
|
3
|
+
import { TabsProps, BadgeProps } from 'antd';
|
4
4
|
|
5
5
|
interface AppInputProps {
|
6
6
|
className?: string;
|
@@ -82,4 +82,31 @@ interface AppTabProps {
|
|
82
82
|
}
|
83
83
|
declare const AppTab: ({ className, items, handleChange, defaultActiveKey, }: AppTabProps) => react_jsx_runtime.JSX.Element;
|
84
84
|
|
85
|
-
|
85
|
+
interface BackArrowProps {
|
86
|
+
text?: string;
|
87
|
+
href: string;
|
88
|
+
className?: string;
|
89
|
+
backIcon?: React$1.ReactNode;
|
90
|
+
}
|
91
|
+
declare const AppBackArrow: ({ text, href, className, backIcon, }: BackArrowProps) => react_jsx_runtime.JSX.Element;
|
92
|
+
|
93
|
+
interface AppBadgeProps extends BadgeProps {
|
94
|
+
content?: React$1.ReactNode;
|
95
|
+
children: React$1.ReactNode;
|
96
|
+
className?: string;
|
97
|
+
ribbon?: {
|
98
|
+
text: React$1.ReactNode;
|
99
|
+
color?: string;
|
100
|
+
placement?: "start" | "end";
|
101
|
+
};
|
102
|
+
}
|
103
|
+
declare const AppBadge: ({ content, children, className, ribbon, ...props }: AppBadgeProps) => react_jsx_runtime.JSX.Element;
|
104
|
+
|
105
|
+
interface OverViewCardProps {
|
106
|
+
className?: string;
|
107
|
+
text?: string;
|
108
|
+
number?: number;
|
109
|
+
}
|
110
|
+
declare const OverViewCard: ({ className, text, number }: OverViewCardProps) => react_jsx_runtime.JSX.Element;
|
111
|
+
|
112
|
+
export { AppBackArrow, AppBadge, AppButton, AppInput, Sidebar as AppSidebar, AppTab, AppTextarea, OverViewCard };
|