Skip to content

Commit

Permalink
chore: ListGuesser rowClick propTypes RA compatibility (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelSuwinski authored Jun 24, 2024
1 parent a7827cb commit 479fec4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ListGuesser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@ ListGuesser.propTypes = {
filters: PropTypes.element,
hasShow: PropTypes.bool,
hasEdit: PropTypes.bool,
rowClick: PropTypes.string,
rowClick: PropTypes.oneOfType([
PropTypes.string,
PropTypes.func,
PropTypes.oneOf([false]),
]),
};
/* eslint-enable tree-shaking/no-side-effects-in-initialization */

Expand Down

0 comments on commit 479fec4

Please sign in to comment.