diff --git a/src/ListGuesser.tsx b/src/ListGuesser.tsx index 9d244644..d99311de 100644 --- a/src/ListGuesser.tsx +++ b/src/ListGuesser.tsx @@ -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 */