From 35417d905a8cd259ebe75ee6e51a418d1c2c9cc8 Mon Sep 17 00:00:00 2001 From: sai6855 Date: Wed, 7 Feb 2024 00:02:14 +0530 Subject: [PATCH] docs:api --- docs/pages/material-ui/api/divider.json | 2 +- packages/mui-material/src/Divider/Divider.d.ts | 3 +-- packages/mui-material/src/Divider/Divider.js | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/pages/material-ui/api/divider.json b/docs/pages/material-ui/api/divider.json index 2251d7eb40b524..0c8d9ac67a8668 100644 --- a/docs/pages/material-ui/api/divider.json +++ b/docs/pages/material-ui/api/divider.json @@ -9,7 +9,7 @@ "type": { "name": "bool" }, "default": "false", "deprecated": true, - "deprecationInfo": "Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead." + "deprecationInfo": "Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead. How to migrate" }, "orientation": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, diff --git a/packages/mui-material/src/Divider/Divider.d.ts b/packages/mui-material/src/Divider/Divider.d.ts index f771c9c974ac4e..96944d214c00ab 100644 --- a/packages/mui-material/src/Divider/Divider.d.ts +++ b/packages/mui-material/src/Divider/Divider.d.ts @@ -30,8 +30,7 @@ export interface DividerOwnProps { /** * If `true`, the divider will have a lighter color. * @default false - * @deprecated Use (or any color) instead. - * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/) + * @deprecated Use (or any color) instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/) */ light?: boolean; /** diff --git a/packages/mui-material/src/Divider/Divider.js b/packages/mui-material/src/Divider/Divider.js index 7c8ad7dcd6e486..ae713896f58f28 100644 --- a/packages/mui-material/src/Divider/Divider.js +++ b/packages/mui-material/src/Divider/Divider.js @@ -257,8 +257,7 @@ Divider.propTypes /* remove-proptypes */ = { /** * If `true`, the divider will have a lighter color. * @default false - * @deprecated Use (or any color) instead. - * [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/) + * @deprecated Use (or any color) instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/) */ light: PropTypes.bool, /**