Skip to content

Commit

Permalink
[core] prop-types import convention
Browse files Browse the repository at this point in the history
A follow-up on mui#26566 (comment)
  • Loading branch information
oliviertassinari committed Jun 6, 2021
1 parent 139f724 commit 3a00eee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Paper/Paper.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { expect } from 'chai';
import * as PropTypes from 'prop-types';
import PropTypes from 'prop-types';
import { createClientRender, createMount, describeConformanceV5 } from 'test/utils';
import Paper, { paperClasses as classes } from '@material-ui/core/Paper';
import { createTheme, ThemeProvider } from '@material-ui/core/styles';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import * as PropTypes from 'prop-types';
import PropTypes from 'prop-types';

// empty props are likely a mistake.
// We want to make sure we catch this instead of keeping .propTypes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import * as PropTypes from 'prop-types';
import PropTypes from 'prop-types';
// empty props are likely a mistake.
// We want to make sure we catch this instead of keeping .propTypes
export default function Component(props) {
Expand Down

0 comments on commit 3a00eee

Please sign in to comment.