Skip to content

Commit

Permalink
update deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Jan 16, 2024
1 parent bdbc474 commit e88b3ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/pages/material-ui/api/divider.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": { "name": "bool" },
"default": "false",
"deprecated": true,
"deprecationInfo": "Use <Divider sx={{ bgcolor: '#eee' }} /> instead."
"deprecationInfo": "Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead."
},
"orientation": {
"type": { "name": "enum", "description": "'horizontal'<br>&#124;&nbsp;'vertical'" },
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Divider/Divider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface DividerOwnProps {
/**
* If `true`, the divider will have a lighter color.
* @default false
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> instead.
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
*/
light?: boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Divider/Divider.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Divider.propTypes /* remove-proptypes */ = {
/**
* If `true`, the divider will have a lighter color.
* @default false
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> instead.
* @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
*/
light: PropTypes.bool,
/**
Expand Down

0 comments on commit e88b3ab

Please sign in to comment.