Skip to content

Commit

Permalink
Fixing proptypes warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjunior committed Nov 3, 2017
1 parent 5eeb3f2 commit dbda044
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-simple-dialogs",
"version": "0.3.0",
"version": "0.3.1",
"description": "Cross-platform simple dialogs for React Native based on the Modal component. ⚛",
"private": false,
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions src/ConfirmDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ const buttonPropType = PropTypes.shape({
title: PropTypes.string.isRequired,
onPress: PropTypes.func.isRequired,
disabled: PropTypes.bool,
titleStyle: {
titleStyle: PropTypes.shape({
...Text.propTypes.style,
colorDisabled: PropTypes.string,
},
style: {
}),
style: PropTypes.shape({
...ViewPropTypes.style,
backgroundColorDisabled: PropTypes.string,
}
})
});

ConfirmDialog.propTypes = {
Expand Down

0 comments on commit dbda044

Please sign in to comment.