From da09b8754861082774593942fcaddf3ca99855a1 Mon Sep 17 00:00:00 2001 From: undefined Date: Thu, 20 Aug 2020 22:18:18 +0800 Subject: [PATCH] style: update name key --- components/list/Item.jsx | 2 +- components/list/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/list/Item.jsx b/components/list/Item.jsx index e0d7acba5..e19616fbf 100644 --- a/components/list/Item.jsx +++ b/components/list/Item.jsx @@ -46,7 +46,7 @@ export const ListItemMeta = (props, { slots }) => { Object.assign(ListItemMeta, { props: ListItemMetaProps, __ANT_LIST_ITEM_META: true, - componentName: 'AListItemMeta', + displayName: 'AListItemMeta', }); function getGrid(grid, t) { diff --git a/components/list/index.jsx b/components/list/index.jsx index af871bc88..8854953f2 100644 --- a/components/list/index.jsx +++ b/components/list/index.jsx @@ -280,7 +280,7 @@ const List = { List.install = function(app) { app.component(List.name, List); app.component(List.Item.name, List.Item); - app.component(List.Item.Meta.componentName, List.Item.Meta); + app.component(List.Item.Meta.displayName, List.Item.Meta); }; export default List;