Skip to content

Commit 35417d9

Browse files
committed
docs:api
1 parent 0ed42b5 commit 35417d9

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

docs/pages/material-ui/api/divider.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": { "name": "bool" },
1010
"default": "false",
1111
"deprecated": true,
12-
"deprecationInfo": "Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead."
12+
"deprecationInfo": "Use &lt;Divider sx={{ bgcolor: &#39;#eee&#39; }} /&gt; (or any color) instead. <a href=\"/material-ui/migration/migrating-from-deprecated-apis/\">How to migrate</a>"
1313
},
1414
"orientation": {
1515
"type": { "name": "enum", "description": "'horizontal'<br>&#124;&nbsp;'vertical'" },

packages/mui-material/src/Divider/Divider.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ export interface DividerOwnProps {
3030
/**
3131
* If `true`, the divider will have a lighter color.
3232
* @default false
33-
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
34-
* [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
33+
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
3534
*/
3635
light?: boolean;
3736
/**

packages/mui-material/src/Divider/Divider.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ Divider.propTypes /* remove-proptypes */ = {
257257
/**
258258
* If `true`, the divider will have a lighter color.
259259
* @default false
260-
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
261-
* [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
260+
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
262261
*/
263262
light: PropTypes.bool,
264263
/**

0 commit comments

Comments
 (0)