Skip to content

Commit

Permalink
fix: simplify proptype for shards, fixes #59
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Mar 11, 2019
1 parent c681b16 commit 55b7129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ FocusLock.propTypes = {
className: PropTypes.string,

whiteList: PropTypes.func,
shards: PropTypes.arrayOf(PropTypes.shape({ current: PropTypes.instanceOf(Element) })),
shards: PropTypes.arrayOf(PropTypes.any),

as: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),
lockProps: PropTypes.object,
Expand Down

0 comments on commit 55b7129

Please sign in to comment.