@lemon-fe/components 1.6.2 → 1.6.3

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.
@@ -44,8 +44,7 @@ export interface ColType<TData> extends Omit<ColDef<TData>, 'editable'> {
44
44
  ellipsis?: boolean;
45
45
  /**
46
46
  * @description
47
- * @en cell renderer. it should be a pure function, do not use the state from the closure but from cellContext
48
- * @zh 单元格渲染函数. 需要是一个纯函数,不使用外部组件的状态变量,而是通过context引入
47
+ * 单元格自定义渲染函数。需要是一个纯函数,不使用外部组件的状态变量,而是通过context引入。第一个参数受单元格的valueFormatter属性影响。
49
48
  */
50
49
  render?: (formattedValue: any, record: TData, index: number, params: ICellRendererParams) => ReactElement | string | number | null;
51
50
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "MIT",
@@ -58,5 +58,5 @@
58
58
  "publishConfig": {
59
59
  "registry": "https://registry.npmjs.org"
60
60
  },
61
- "gitHead": "56e77a6391f36880a76038965431cd8f1d8b8e81"
61
+ "gitHead": "bbc2ebe7a5a3ddf625a7d845693d4aee3408ae0e"
62
62
  }