Skip to content

Commit

Permalink
Shorten propTypes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Dec 15, 2015
1 parent 8058015 commit 523337a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions client/components/data/activating-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const ActivatingThemeData = React.createClass( {

propTypes: {
children: React.PropTypes.element.isRequired,
// The following props aren't part of this module's public interface,
// since they are provided by the `connect()` call that is wrapped around
// `ActivatingThemeData` before it is exported.
// Connected props
isActivating: React.PropTypes.bool.isRequired,
hasActivated: React.PropTypes.bool.isRequired,
currentTheme: React.PropTypes.shape( {
Expand Down
4 changes: 1 addition & 3 deletions client/components/data/current-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ const CurrentThemeData = React.createClass( {
React.PropTypes.object,
React.PropTypes.bool
] ).isRequired,
// The following props aren't part of this module's public interface,
// since they are provided by the `connect()` call that is wrapped around
// `CurrentThemeData` before it is exported.
// Connected props
currentTheme: React.PropTypes.shape( {
name: React.PropTypes.string,
id: React.PropTypes.string
Expand Down
4 changes: 1 addition & 3 deletions shared/components/data/themes-list-fetcher/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ const ThemesListFetcher = React.createClass( {
tier: React.PropTypes.string,
onRealScroll: React.PropTypes.func,
onLastPage: React.PropTypes.func,
// The following props aren't part of this module's public interface,
// since they are provided by the `connect()` call that is wrapped around
// `ThemesListFetcher` before it is exported.
// Connected props
themes: React.PropTypes.array.isRequired,
lastPage: React.PropTypes.bool.isRequired,
loading: React.PropTypes.bool.isRequired,
Expand Down

0 comments on commit 523337a

Please sign in to comment.