@regenbio/regenbio-components-react 1.4.42 → 1.4.44

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,10 @@
1
+ import React from "react";
2
+ import { RbTableLineTitleProps } from "./type";
3
+ /**
4
+ * RB 表格行标题
5
+ *
6
+ * @param props 参数配置
7
+ * @constructor
8
+ */
9
+ declare const RbTableLineTitle: React.FC<RbTableLineTitleProps>;
10
+ export default RbTableLineTitle;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { CopyConfig, EllipsisConfig } from "antd/es/typography/Base";
3
+ /**
4
+ * 表格行标题属性
5
+ */
6
+ export type RbTableLineTitleProps = {
7
+ sign?: string;
8
+ children: React.ReactNode;
9
+ ellipsis?: EllipsisConfig;
10
+ onClick?: () => void;
11
+ copyable?: boolean | CopyConfig;
12
+ };
package/build/index.d.ts CHANGED
@@ -36,6 +36,8 @@ import RbAuthFrame from "./components/Other/LoginLoad/AuthFrame";
36
36
  import { RbAuthFrameProps } from "./components/Other/LoginLoad/AuthFrame/type";
37
37
  import RbBindFrame from "./components/Other/LoginLoad/BindFrame";
38
38
  import { RbBindFrameProps } from "./components/Other/LoginLoad/BindFrame/type";
39
+ import RbTableLineTitle from "./components/Other/TableLineTitle/index";
40
+ import { RbTableLineTitleProps } from "./components/Other/TableLineTitle/type";
39
41
  import { RbGlobalContext, useGlobalState } from "./components/Other/GlobalContext";
40
42
  import DbUtil from "./services/utils/dbUtil";
41
43
  import ObjectUtil from "./services/utils/objectUtil";
@@ -102,6 +104,8 @@ export { RbThemeSetter };
102
104
  export { RbAuthFrame, RbBindFrame };
103
105
  export type { RbAuthFrameProps, RbBindFrameProps };
104
106
  export { RbGlobalContext, useGlobalState };
107
+ export { RbTableLineTitle };
108
+ export type { RbTableLineTitleProps };
105
109
  export { DbUtil, ObjectUtil, EventUtil, StorageUtil, StringUtil, NumberUtil, RandomUtil, UnicodeUtil, UploadUtil, RequestUtil };
106
110
  export { EventEnum, StorageEnum };
107
111
  export { CommonConstant, IconConstant, DbConstant };
@@ -133,5 +137,6 @@ declare const _default: {
133
137
  RbBindFrame: React.FC<RbBindFrameProps>;
134
138
  RbGlobalContext: Context<RbGlobalStateType>;
135
139
  RbDraggableUploader: React.FC<RbDraggableUploaderProps>;
140
+ RbTableLineTitle: React.FC<RbTableLineTitleProps>;
136
141
  };
137
142
  export default _default;