Skip to content

Commit da09b87

Browse files
author
undefined
committed
style: update name key
1 parent 1f73e1f commit da09b87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/list/Item.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const ListItemMeta = (props, { slots }) => {
4646
Object.assign(ListItemMeta, {
4747
props: ListItemMetaProps,
4848
__ANT_LIST_ITEM_META: true,
49-
componentName: 'AListItemMeta',
49+
displayName: 'AListItemMeta',
5050
});
5151

5252
function getGrid(grid, t) {

components/list/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ const List = {
280280
List.install = function(app) {
281281
app.component(List.name, List);
282282
app.component(List.Item.name, List.Item);
283-
app.component(List.Item.Meta.componentName, List.Item.Meta);
283+
app.component(List.Item.Meta.displayName, List.Item.Meta);
284284
};
285285

286286
export default List;

0 commit comments

Comments
 (0)