修改嵌套子表示例

This commit is contained in:
yangchch6 2019-05-10 13:50:51 +08:00
parent ce981bbfef
commit 6dd1140be4
4 changed files with 11 additions and 7 deletions

View File

@ -2,12 +2,12 @@
* *
* @title 嵌套子表格 * @title 嵌套子表格
* @parent 扩展行 Expanded Row * @parent 扩展行 Expanded Row
* @description 通过expandedRowRender参数来实现子表格 * @description 通过expandedRowRender参数来实现子表格收起和展开的图标可自定义传入
* demo1101 * demo1101
*/ */
import React, { Component } from "react"; import React, { Component } from "react";
import { Popconfirm } from 'tinper-bee'; import { Popconfirm,Icon } from 'tinper-bee';
import Table from "../../src"; import Table from "../../src";
import dragColumn from '../../src/lib/dragColumn'; import dragColumn from '../../src/lib/dragColumn';
const DragColumnTable = dragColumn(Table); const DragColumnTable = dragColumn(Table);
@ -119,6 +119,8 @@ class Demo16 extends Component {
scroll={{x:true}} scroll={{x:true}}
dragborder={true} dragborder={true}
draggable={true} draggable={true}
collapsedIcon={<Icon type='uf-anglearrowpointingtoright'/>}
expandedIcon={<Icon type='uf-treearrow-down'/>}
/> />
); );
} }

File diff suppressed because one or more lines are too long

8
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long