Skip to content

Commit

Permalink
private component
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jan 23, 2021
1 parent 16293a2 commit ff2c8fe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/material-ui/src/Hidden/HiddenCss.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import useThemeProps from '../styles/useThemeProps';
import useTheme from '../styles/useTheme';
import { getHiddenCssUtilityClass } from './hiddenCssClasses';

const overridesResolver = (props, styles) => styles.root || {};

const useUtilityClasses = (styleProps) => {
const { classes, breakpoints } = styleProps;

Expand All @@ -33,7 +31,6 @@ const HiddenCssRoot = experimentalStyled(
{
name: 'PrivateHiddenCss',
slot: 'Root',
overridesResolver,
},
)(({ theme, styleProps }) => {
const hidden = {
Expand Down Expand Up @@ -68,8 +65,7 @@ const HiddenCssRoot = experimentalStyled(
/**
* @ignore - internal component.
*/
const HiddenCss = React.forwardRef(function HiddenCss(inProps) {
const props = useThemeProps({ props: inProps, name: 'PrivateHiddenCss' });
const HiddenCss = React.forwardRef(function HiddenCss(props) {
const { children, className, only, ...other } = props;
const theme = useTheme();

Expand Down

0 comments on commit ff2c8fe

Please sign in to comment.