Skip to content

Commit

Permalink
REMOVE prop-types where no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Feb 14, 2020
1 parent 9200941 commit 9a5dc17
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion lib/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"global": "^4.3.2",
"lodash": "^4.17.15",
"memoizerific": "^1.11.3",
"prop-types": "^15.6.2",
"react": "^16.8.3",
"semver": "^6.0.0",
"shallow-equal": "^1.1.0",
Expand Down
1 change: 0 additions & 1 deletion lib/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"memoizerific": "^1.11.3",
"polished": "^3.4.4",
"popper.js": "^1.14.7",
"prop-types": "^15.7.2",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-focus-lock": "^2.1.0",
Expand Down
1 change: 0 additions & 1 deletion lib/components/src/tabs/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import React, {
MouseEvent,
ReactNode,
} from 'react';
import PropTypes from 'prop-types';
import { styled } from '@storybook/theming';

import { Placeholder } from '../placeholder/placeholder';
Expand Down
1 change: 0 additions & 1 deletion lib/source-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"global": "^4.3.2",
"loader-utils": "^1.2.3",
"prettier": "^1.16.4",
"prop-types": "^15.7.2",
"regenerator-runtime": "^0.13.3"
},
"peerDependencies": {
Expand Down
1 change: 0 additions & 1 deletion lib/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"global": "^4.3.2",
"memoizerific": "^1.11.3",
"polished": "^3.4.4",
"prop-types": "^15.7.2",
"resolve-from": "^5.0.0",
"ts-dedent": "^1.1.1"
},
Expand Down
1 change: 0 additions & 1 deletion lib/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"markdown-to-jsx": "^6.9.3",
"memoizerific": "^1.11.3",
"polished": "^3.4.4",
"prop-types": "^15.7.2",
"qs": "^6.6.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
Expand Down
1 change: 0 additions & 1 deletion lib/ui/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ module.exports = {
'@storybook/router': dirname(resolve('@storybook/router/package.json')),
'@storybook/theming': dirname(resolve('@storybook/theming/package.json')),
'@storybook/ui': dirname(resolve('@storybook/ui/package.json')),
'prop-types': dirname(resolve('prop-types/package.json')),
react: dirname(resolve('react/package.json')),
'react-dom': dirname(resolve('react-dom/package.json')),
};
1 change: 0 additions & 1 deletion lib/ui/scripts/createDlls.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const run = () =>
'@storybook/theming',
'airbnb-js-shims',
'emotion-theming',
'prop-types',
'react',
'react-dom',
'regenerator-runtime/runtime',
Expand Down
5 changes: 0 additions & 5 deletions lib/ui/src/components/sidebar/SidebarStories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { Fragment, FunctionComponent, memo } from 'react';
import PropTypes from 'prop-types';

import { styled } from '@storybook/theming';
import { Placeholder, Link as StyledLink } from '@storybook/components';
Expand All @@ -19,10 +18,6 @@ const Subheading = styled(SidebarSubheading)({
margin: '0 20px',
});

Subheading.propTypes = {
className: PropTypes.string,
};

Subheading.defaultProps = {
className: 'sidebar-subheading',
};
Expand Down

0 comments on commit 9a5dc17

Please sign in to comment.