UNPKG

@alexseitsinger/react-toggled-component

Version:

Returns a connected component that renders another component based on the state

22 lines (13 loc) 1.14 kB
<a name="v1.0.0"></a> ## [v1.0.0](https://github.com/alexseitsinger/react-toggled-component/compare/v0.1.0...v1.0.0) (2019-06-25) ### Code Refactoring - Changes reducer obj to state str. ([24f58a7](https://github.com/alexseitsinger/react-toggled-component/commit/24f58a77030a2f3b6f9988319c482be9441a58c2)) <a name="v0.1.0"></a> ## [v0.1.0](https://github.com/alexseitsinger/react-toggled-component/compare/fdf10e09c88d07d78d48ad8edc78e5f9a2b8c4c8...v0.1.0) (2019-06-02) ### Bug Fixes - Adds missing check in if statement. ([e687170](https://github.com/alexseitsinger/react-toggled-component/commit/e6871700cddf4afa4fbc9701a00826648465a513)) - Capitalizes component names. ([d82f380](https://github.com/alexseitsinger/react-toggled-component/commit/d82f380eef51ec2766de8e5e5f8100300175f4c2)) ### Code Refactoring - Returns from the connect command. ([6b801f2](https://github.com/alexseitsinger/react-toggled-component/commit/6b801f2245ca68edbafdafcd5f396d1a42ca356f)) ### Features - Adds new module to main exports. ([d73876c](https://github.com/alexseitsinger/react-toggled-component/commit/d73876c11516351e00818cf480fbed6f6f0c784e))