diff --git a/docs/pages/material-ui/api/list-item.json b/docs/pages/material-ui/api/list-item.json index f910351317a3b8..0853fdad144ceb 100644 --- a/docs/pages/material-ui/api/list-item.json +++ b/docs/pages/material-ui/api/list-item.json @@ -23,13 +23,13 @@ "type": { "name": "shape", "description": "{ Root?: elementType }" }, "default": "{}", "deprecated": true, - "deprecationInfo": "use the slots prop instead. This prop will be removed in v7. How to migrate." + "deprecationInfo": "Use the slots prop instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details." }, "componentsProps": { "type": { "name": "shape", "description": "{ root?: object }" }, "default": "{}", "deprecated": true, - "deprecationInfo": "use the slotProps prop instead. This prop will be removed in v7. How to migrate." + "deprecationInfo": "Use the slotProps prop instead. This prop will be removed in v7. See Migrating from deprecated APIs for more details." }, "ContainerComponent": { "type": { "name": "custom", "description": "element type" }, diff --git a/packages/mui-material/src/ListItem/ListItem.d.ts b/packages/mui-material/src/ListItem/ListItem.d.ts index e89abb9a7f5827..74e07f6b48cfd9 100644 --- a/packages/mui-material/src/ListItem/ListItem.d.ts +++ b/packages/mui-material/src/ListItem/ListItem.d.ts @@ -91,7 +91,7 @@ export interface ListItemOwnProps extends ListItemBaseProps { /** * The components used for each slot inside. * - * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/). + * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. * @default {} */ components?: { @@ -101,7 +101,7 @@ export interface ListItemOwnProps extends ListItemBaseProps { * The extra props for the slot components. * You can override the existing props or add new ones. * - * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/). + * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. * @default {} */ componentsProps?: { diff --git a/packages/mui-material/src/ListItem/ListItem.js b/packages/mui-material/src/ListItem/ListItem.js index 5106c315a64913..e887fd0cdd7fb0 100644 --- a/packages/mui-material/src/ListItem/ListItem.js +++ b/packages/mui-material/src/ListItem/ListItem.js @@ -423,7 +423,7 @@ ListItem.propTypes /* remove-proptypes */ = { /** * The components used for each slot inside. * - * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/). + * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. * @default {} */ components: PropTypes.shape({ @@ -433,7 +433,7 @@ ListItem.propTypes /* remove-proptypes */ = { * The extra props for the slot components. * You can override the existing props or add new ones. * - * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/). + * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. * @default {} */ componentsProps: PropTypes.shape({