@regenbio/regenbio-components-react 1.0.3 → 1.0.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.
@@ -10,7 +10,7 @@ import type { TableSticky } from "rc-table/lib/interface";
10
10
  /**
11
11
  * 扩展操作类型
12
12
  */
13
- export type ExtensionActionType = {
13
+ export type RbActionType = {
14
14
  /**
15
15
  * 主动开启表格等待
16
16
  */
@@ -51,7 +51,7 @@ export type RbDataTableProps<DataSource, U, ValueType = 'text'> = {
51
51
  /**
52
52
  * Table action 的引用,便于自定义触发
53
53
  */
54
- actionRef: Ref<ExtensionActionType | undefined>;
54
+ actionRef: Ref<RbActionType | undefined>;
55
55
  /**
56
56
  * 工具栏渲染
57
57
  */
package/build/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
- declare const _default: {
2
- RbDataTable: <DataSource, U, ValueType = "text">(props: import("./components/data-table/type").RbDataTableProps<DataSource, U, ValueType>) => any;
3
- Test: () => any;
4
- };
5
- export default _default;
1
+ import RbDataTable from "@/components/data-table/index";
2
+ import { RbActionType, RbDataTableProps } from "@/components/data-table/type";
3
+ import Test from "./Test";
4
+ /**
5
+ * 数据表格
6
+ */
7
+ export { RbDataTable, RbActionType, RbDataTableProps };
8
+ export { Test };