diff --git a/docs/src/pages/components/buttons/buttons.md b/docs/src/pages/components/buttons/buttons.md index b6df6213d1d98f..d236b6e0f114dd 100644 --- a/docs/src/pages/components/buttons/buttons.md +++ b/docs/src/pages/components/buttons/buttons.md @@ -21,8 +21,6 @@ components: Button, ButtonGroup, Fab, IconButton, ButtonBase, Zoom are high-emphasis, distinguished by their use of elevation and fill. They contain actions that are primary to your app. -The last example of this demo show how to use an upload button. - {{"demo": "pages/components/buttons/ContainedButtons.js"}} You can remove the elevation with the `disableElevation` prop. diff --git a/docs/src/pages/components/rating/HoverRating.js b/docs/src/pages/components/rating/HoverRating.js index 891f146af0bd65..23e3f26ffe753d 100644 --- a/docs/src/pages/components/rating/HoverRating.js +++ b/docs/src/pages/components/rating/HoverRating.js @@ -1,5 +1,4 @@ import React from 'react'; -import PropTypes from 'prop-types'; import { makeStyles } from '@material-ui/core/styles'; import Rating from '@material-ui/lab/Rating'; import Tooltip from '@material-ui/core/Tooltip'; @@ -28,10 +27,6 @@ function IconContainer(props) { ); } -IconContainer.propTypes = { - value: PropTypes.number.isRequired, -}; - const useStyles = makeStyles({ rating1: { width: 200,