Skip to content

Commit

Permalink
Fix Tooltip proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
jonambas committed Oct 4, 2017
1 parent 350e68a commit f4601bd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ export class Tooltip extends Component {
/**
* These props are provided automatically through the withPositioning HOC
*/
preferredPosition: PropTypes.shape
preferredPosition: PropTypes.shape({
top: PropTypes.bool,
bottom: PropTypes.bool,
left: PropTypes.bool,
right: PropTypes.bool,
})
};

static defaultProps = {
Expand Down

0 comments on commit f4601bd

Please sign in to comment.