@dovetail-v2/refine 0.2.4 → 0.2.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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  type Props = {
3
3
  title?: string;
4
- description?: string;
4
+ description?: React.ReactNode;
5
5
  selectedKeys: string[];
6
6
  hideCreate?: boolean;
7
7
  };
@@ -166,7 +166,7 @@ export type ResourceConfig<Model extends ResourceModel = ResourceModel> = {
166
166
  /** 是否隐藏创建功能 */
167
167
  hideCreate?: boolean;
168
168
  /** 资源的描述信息 */
169
- description?: string;
169
+ description?: React.ReactNode;
170
170
  /** 父级资源名称,用于建立资源层级关系。在 Dovetail2 中用不到这个 */
171
171
  parent?: string;
172
172
  /** 格式化数据参数,目前暂未完全实现,可能会删除 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",