@regenbio/regenbio-components-react 1.3.39 → 1.3.41

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,11 @@
1
+ /**
2
+ * 全局提示Hook,基于EventUtil封装,只会在App包裹下的页面生效
3
+ */
4
+ declare const useRbMessage: () => {
5
+ info: (content: any) => void;
6
+ success: (content: any) => void;
7
+ error: (content: any) => void;
8
+ warning: (content: any) => void;
9
+ loading: (content: any) => void;
10
+ };
11
+ export default useRbMessage;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 通知提醒Hook,基于EventUtil封装,只会在App包裹下的页面生效
3
+ */
4
+ declare const useRbNotification: () => {
5
+ info: (content: any) => void;
6
+ success: (content: any) => void;
7
+ error: (content: any) => void;
8
+ warning: (content: any) => void;
9
+ loading: (content: any) => void;
10
+ };
11
+ export default useRbNotification;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 响应式Hook
3
+ * @param responsiveWidth 触发响应式的宽度,默认为576
4
+ */
5
+ declare const useRbResponsive: (responsiveWidth?: number) => {
6
+ responsive: any;
7
+ };
8
+ export default useRbResponsive;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regenbio/regenbio-components-react",
3
- "version": "1.3.39",
3
+ "version": "1.3.41",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },