Skip to content

Commit

Permalink
change PropTypes.String to PropTypes.string
Browse files Browse the repository at this point in the history
  • Loading branch information
godhh authored and diasbruno committed Jun 16, 2017
1 parent af3d146 commit c1dc7fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export default class Modal extends Component {
portalClassName: PropTypes.string,
bodyOpenClassName: PropTypes.string,
className: PropTypes.oneOfType([
PropTypes.String,
PropTypes.string,
PropTypes.object
]),
overlayClassName: PropTypes.oneOfType([
PropTypes.String,
PropTypes.string,
PropTypes.object
]),
appElement: PropTypes.instanceOf(SafeHTMLElement),
Expand Down
4 changes: 2 additions & 2 deletions src/components/ModalPortal.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ export default class ModalPortal extends Component {
overlay: PropTypes.object
}),
className: PropTypes.oneOfType([
PropTypes.String,
PropTypes.string,
PropTypes.object
]),
overlayClassName: PropTypes.oneOfType([
PropTypes.String,
PropTypes.string,
PropTypes.object
]),
onAfterOpen: PropTypes.func,
Expand Down

0 comments on commit c1dc7fd

Please sign in to comment.