Skip to content

Commit

Permalink
rowClick propTypes RA compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelSuwinski committed Jun 7, 2024
1 parent e0c087f commit a00a2af
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 a00a2af

Please sign in to comment.