Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: table should not warn defaultProps #39571

Merged
merged 5 commits into from Dec 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -26612,6 +26612,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `
<th
aria-label="this column's title is Name,this column is sortable"
class="config-table-cell config-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -26917,6 +26918,7 @@ exports[`ConfigProvider components Table configProvider componentDisabled 1`] =
<th
aria-label="this column's title is Name,this column is sortable"
class="config-table-cell config-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -27224,6 +27226,7 @@ exports[`ConfigProvider components Table configProvider componentSize large 1`]
<th
aria-label="this column's title is Name,this column is sortable"
class="config-table-cell config-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -27529,6 +27532,7 @@ exports[`ConfigProvider components Table configProvider componentSize middle 1`]
<th
aria-label="this column's title is Name,this column is sortable"
class="config-table-cell config-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -27834,6 +27838,7 @@ exports[`ConfigProvider components Table configProvider virtual and dropdownMatc
<th
aria-label="this column's title is Name,this column is sortable"
class="ant-table-cell ant-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -28139,6 +28144,7 @@ exports[`ConfigProvider components Table normal 1`] = `
<th
aria-label="this column's title is Name,this column is sortable"
class="ant-table-cell ant-table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down Expand Up @@ -28444,6 +28450,7 @@ exports[`ConfigProvider components Table prefixCls 1`] = `
<th
aria-label="this column's title is Name,this column is sortable"
class="prefix-Table-cell prefix-Table-column-has-sorters"
scope="col"
tabindex="0"
>
<div
Expand Down
Expand Up @@ -1468,16 +1468,19 @@ exports[`renders ./components/descriptions/demo/text.tsx extend context correctl
<tr>
<th
class="ant-table-cell"
scope="col"
>
姓名
</th>
<th
class="ant-table-cell"
scope="col"
>
年龄
</th>
<th
class="ant-table-cell"
scope="col"
>
住址
</th>
Expand Down
Expand Up @@ -1468,16 +1468,19 @@ exports[`renders ./components/descriptions/demo/text.tsx correctly 1`] = `
<tr>
<th
class="ant-table-cell"
scope="col"
>
姓名
</th>
<th
class="ant-table-cell"
scope="col"
>
年龄
</th>
<th
class="ant-table-cell"
scope="col"
>
住址
</th>
Expand Down
Expand Up @@ -1039,11 +1039,13 @@ exports[`renders ./components/empty/demo/config-provider.tsx extend context corr
<tr>
<th
class="ant-table-cell"
scope="col"
>
Name
</th>
<th
class="ant-table-cell"
scope="col"
>
Age
</th>
Expand Down
2 changes: 2 additions & 0 deletions components/empty/__tests__/__snapshots__/demo.test.ts.snap
Expand Up @@ -588,11 +588,13 @@ exports[`renders ./components/empty/demo/config-provider.tsx correctly 1`] = `
<tr>
<th
class="ant-table-cell"
scope="col"
>
Name
</th>
<th
class="ant-table-cell"
scope="col"
>
Age
</th>
Expand Down