Commit b59fdde2 authored by zhangwenshuai's avatar zhangwenshuai

props table width and height

parent 8518b48c
......@@ -143,8 +143,8 @@ export default class AirTable extends Component<TableProps, TableState> {
onResize = ({ width, height }: { width: number; height: number }) => {
this.setState(
{
tableWidth: width,
tableHeight: height,
tableWidth: this.props.width || width,
tableHeight: this.props.height || height,
},
this.recomputeGridSize,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment