mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
chore: className here is unnecessary (#25701)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
This commit is contained in:
parent
43dc337ead
commit
0222d4e7fe
@ -21,7 +21,7 @@ import classNames from 'classnames';
|
||||
import { Table } from 'antd';
|
||||
|
||||
function VirtualTable(props) {
|
||||
const { columns, scroll, className } = props;
|
||||
const { columns, scroll } = props;
|
||||
const [tableWidth, setTableWidth] = useState(0);
|
||||
|
||||
const widthColumnCount = columns.filter(({ width }) => !width).length;
|
||||
@ -103,7 +103,7 @@ function VirtualTable(props) {
|
||||
>
|
||||
<Table
|
||||
{...props}
|
||||
className={classNames(className, 'virtual-table')}
|
||||
className="virtual-table"
|
||||
columns={mergedColumns}
|
||||
pagination={false}
|
||||
components={{
|
||||
|
Loading…
Reference in New Issue
Block a user