From 0f9788911e9b6b7a80b4982f15b6f0e13ba91c5f Mon Sep 17 00:00:00 2001 From: zy410419243 Date: Mon, 3 Dec 2018 08:03:34 +0800 Subject: [PATCH] revert: head.MD --- .../__tests__/__snapshots__/demo.test.js.snap | 16 ++-------------- components/table/demo/head.md | 8 +------- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index 45ef69d944..d0cda04c2b 100755 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -9073,21 +9073,9 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = ` >
-
-
-
- Name -
-
-
+ Name
diff --git a/components/table/demo/head.md b/components/table/demo/head.md index c32a78a985..cf3f6c0729 100644 --- a/components/table/demo/head.md +++ b/components/table/demo/head.md @@ -28,13 +28,7 @@ If a `sortOrder` or `defaultSortOrder` is specified with the value `ascend` or ` import { Table } from 'antd'; const columns = [{ - title: ( -
-
-
Name
-
-
- ), + title: 'Name', dataIndex: 'name', filters: [{ text: 'Joe',