Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with redux #340

Open
bill-oneil opened this issue Apr 10, 2020 · 0 comments
Open

Using with redux #340

bill-oneil opened this issue Apr 10, 2020 · 0 comments

Comments

@bill-oneil
Copy link

How is the react-onclickoutside used with redux?
I used this as follow, but don't received xxx and yyy from UNSAFE_componentWillReceiveFromProps.

var clickOutsideConfig = {
excludeScrollbar: true
};

export default connect (
(state) => ({
xxx: state.vvvModule.get('xxx'),
yyy: state.zzzModule.get('yyy'),
}),
null
)(onClickOutside(CustomPicker, clickOutsideConfig));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant