Skip to content

Commit

Permalink
use shap instead of object for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JediWattson committed Aug 30, 2022
1 parent 9a9620e commit 240e1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SwipeableView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const propTypes = {
onPress: PropTypes.func,

/** can be set to provide styles */
styles: PropTypes.arrayOf(PropTypes.object),
styles: PropTypes.arrayOf(PropTypes.shape({})),

/** Children to render. */
children: PropTypes.oneOfType([
Expand Down

0 comments on commit 240e1e3

Please sign in to comment.