(_ref2)
| 21919 | })(Counter); |
| 21920 | |
| 21921 | function Visibility(_ref2) { |
| 21922 | var changeVisibility = _ref2.changeVisibility; |
| 21923 | |
| 21924 | return _react2.default.createElement( |
| 21925 | 'div', |
| 21926 | null, |
| 21927 | _react2.default.createElement( |
| 21928 | 'button', |
| 21929 | { onClick: function onClick() { |
| 21930 | return changeVisibility(true); |
| 21931 | } }, |
| 21932 | 'Visible' |
| 21933 | ), |
| 21934 | _react2.default.createElement( |
| 21935 | 'button', |
| 21936 | { onClick: function onClick() { |
| 21937 | return changeVisibility(false); |
| 21938 | } }, |
| 21939 | 'Hidden' |
| 21940 | ) |
| 21941 | ); |
| 21942 | } |
| 21943 | var VisibilityConnected = (0, _reactRedux.connect)(null, function (dispatch) { |
| 21944 | return { |
| 21945 | changeVisibility: function changeVisibility(value) { |
nothing calls this directly
no test coverage detected