Browse Source

style: update name key

pull/2750/head
undefined 4 years ago
parent
commit
da09b87548
  1. 2
      components/list/Item.jsx
  2. 2
      components/list/index.jsx

2
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) {

2
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;

Loading…
Cancel
Save