diff --git a/.gitignore b/.gitignore
index 1cbe6e171f..16c86a873c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,7 @@ server/
# Docs templates
scripts/previewEditor/index.html
-components/version/version.tsx
+components/version/version.ts
components/version/token.json
components/version/token-meta.json
.dumi/tmp
diff --git a/components/index.tsx b/components/index.ts
similarity index 100%
rename from components/index.tsx
rename to components/index.ts
diff --git a/components/style/compact-item-vertical.tsx b/components/style/compact-item-vertical.ts
similarity index 100%
rename from components/style/compact-item-vertical.tsx
rename to components/style/compact-item-vertical.ts
diff --git a/components/style/compact-item.tsx b/components/style/compact-item.ts
similarity index 100%
rename from components/style/compact-item.tsx
rename to components/style/compact-item.ts
diff --git a/components/style/index.tsx b/components/style/index.ts
similarity index 100%
rename from components/style/index.tsx
rename to components/style/index.ts
diff --git a/components/style/motion/collapse.tsx b/components/style/motion/collapse.ts
similarity index 100%
rename from components/style/motion/collapse.tsx
rename to components/style/motion/collapse.ts
diff --git a/components/style/motion/fade.tsx b/components/style/motion/fade.ts
similarity index 100%
rename from components/style/motion/fade.tsx
rename to components/style/motion/fade.ts
diff --git a/components/style/motion/motion.tsx b/components/style/motion/motion.ts
similarity index 100%
rename from components/style/motion/motion.tsx
rename to components/style/motion/motion.ts
diff --git a/components/style/motion/move.tsx b/components/style/motion/move.ts
similarity index 100%
rename from components/style/motion/move.tsx
rename to components/style/motion/move.ts
diff --git a/components/style/motion/slide.tsx b/components/style/motion/slide.ts
similarity index 100%
rename from components/style/motion/slide.tsx
rename to components/style/motion/slide.ts
diff --git a/components/style/motion/zoom.tsx b/components/style/motion/zoom.ts
similarity index 100%
rename from components/style/motion/zoom.tsx
rename to components/style/motion/zoom.ts
diff --git a/components/style/operationUnit.tsx b/components/style/operationUnit.ts
similarity index 100%
rename from components/style/operationUnit.tsx
rename to components/style/operationUnit.ts
diff --git a/components/style/placementArrow.tsx b/components/style/placementArrow.ts
similarity index 100%
rename from components/style/placementArrow.tsx
rename to components/style/placementArrow.ts
diff --git a/components/style/roundedArrow.tsx b/components/style/roundedArrow.ts
similarity index 100%
rename from components/style/roundedArrow.tsx
rename to components/style/roundedArrow.ts
diff --git a/components/switch/style/index.tsx b/components/switch/style/index.ts
similarity index 100%
rename from components/switch/style/index.tsx
rename to components/switch/style/index.ts
diff --git a/components/table/Column.tsx b/components/table/Column.ts
similarity index 100%
rename from components/table/Column.tsx
rename to components/table/Column.ts
diff --git a/components/table/ColumnGroup.tsx b/components/table/ColumnGroup.ts
similarity index 100%
rename from components/table/ColumnGroup.tsx
rename to components/table/ColumnGroup.ts
diff --git a/components/table/__tests__/Table.test.tsx b/components/table/__tests__/Table.test.tsx
index fdaf21d394..8227e67532 100644
--- a/components/table/__tests__/Table.test.tsx
+++ b/components/table/__tests__/Table.test.tsx
@@ -1,3 +1,4 @@
+import { ConfigProvider } from 'antd';
import React from 'react';
import type { TableProps } from '..';
import Table from '..';
@@ -360,4 +361,14 @@ describe('Table', () => {
expect(container.querySelector('table')?.getAttribute('aria-label')).toBe('label');
expect(container.querySelector('.ant-table')?.getAttribute('data-number')).toBe('123');
});
+
+ it('support wireframe', () => {
+ const columns = [{ title: 'Name', key: 'name', dataIndex: 'name' }];
+ const { container } = render(
+
+
+ Name + | +
---|
+
+
+
+
+
+
+ No data
+
+ |
+