Skip to content

Commit

Permalink
docs: #552 table footer align-items center (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxy0551 authored Feb 21, 2024
1 parent 01baf7a commit e2f757b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/table/demo/numberRight.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const rowSelection = {
};

tableFooter = () => (
<Row style={{ width: '100%' }}>
<Row style={{ width: '100%', alignItems: 'center' }}>
<Col span={12}>
<Button style={{ marginRight: 10 }} type="primary">冻结实验</Button>
<Button>解冻实验</Button>
Expand All @@ -144,7 +144,7 @@ ReactDOM.render(
rowSelection={rowSelection}
columns={columns}
dataSource={data}
className="my-custom-table-class-name"
className="dt-table-border"
pagination={false}
footer={tableFooter}
/>
Expand Down
2 changes: 1 addition & 1 deletion components/table/demo/selectAndDeal.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const rowSelection = {
};

tableFooter = () => (
<Row style={{ width: '100%' }}>
<Row style={{ width: '100%', alignItems: 'center' }}>
<Col span={12}>
<Button style={{ marginRight: 10 }} type="primary">冻结实验</Button>
<Button>解冻实验</Button>
Expand Down
1 change: 0 additions & 1 deletion components/table/demo/selected.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ const App = () => {
}}
columns={columns}
dataSource={data}
className="my-custom-table-class-name111"
pagination={false}
/>
<Drawer title="Basic Drawer"
Expand Down

0 comments on commit e2f757b

Please sign in to comment.