{"_id":"react-toggle-display","_rev":"19-a9ceb4cc9da6aac2c9c4454e0f8a45ce","name":"react-toggle-display","description":"Hide/show a component's children","dist-tags":{"latest":"2.2.1"},"versions":{"0.0.1":{"name":"react-toggle-display","version":"0.0.1","description":"Hide/show a component's children","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react","hide","show","toggle"],"author":{"name":"Cameron Nokes"},"license":"MIT","dependencies":{"react":"^0.13.3"},"gitHead":"92f702b16d6ec5b29abca90c68681b4ad9dbaaa0","_id":"react-toggle-display@0.0.1","_shasum":"e4c52e33dd11b63ed1af09150ac5295441db7cfe","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"e4c52e33dd11b63ed1af09150ac5295441db7cfe","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-0.0.1.tgz","integrity":"sha512-NSzxk6gAvm/fza1tvz1eF+f2CsoPBP1vG/0xGJP5tBQduNFsVjbQ+AUhKBXq2l4Tsxb8BROHVTacq4tY1PggXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIGSWPgYkyyXhvEwb6ecn3D+tdub5frhXIW4BD4+qVsAiEAoiJJubb+Q3HCh6Y5UsuW1VnBWaAiCokeNc6TeIK/nRo="}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"directories":{}},"0.0.2":{"name":"react-toggle-display","version":"0.0.2","description":"Hide/show a component's children","repository":{"type":"git","url":"https://github.com/ccnokes/react-toggle-display"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react","hide","show","toggle","component"],"author":{"name":"Cameron Nokes"},"license":"MIT","peerDependencies":{"react":">=0.11.0"},"gitHead":"d4c48bdf528b7d2a54bae5c83984345a33a12e1d","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display","_id":"react-toggle-display@0.0.2","_shasum":"95bc0811e53eddd583310679a0786eb12697de8c","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"95bc0811e53eddd583310679a0786eb12697de8c","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-0.0.2.tgz","integrity":"sha512-aLEPDnaXy1McG+Nk7swH8u/3Ulk+cE3S8AMJUjRxqknM87AZgo3Z3jWC/EZqmuC8xPzU9XiOu/qogajNLV7asA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChREzDiVxuxN0pXFGy4P405HMlVNirvzbv9JVrOeMUyAIgaIZSr36f853a/YyOWGhggd4zEp8CvUZ8fUeiJUrNAnA="}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"directories":{}},"0.1.0":{"name":"react-toggle-display","version":"0.1.0","description":"Hide/show a component's children","repository":{"type":"git","url":"https://github.com/ccnokes/react-toggle-display"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["react","hide","show","toggle","component"],"author":{"name":"Cameron Nokes"},"license":"MIT","peerDependencies":{"react":">=0.11.0"},"gitHead":"310f7824debf83664cca7d3f72861d73676dfd5f","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display","_id":"react-toggle-display@0.1.0","_shasum":"b1ebc22fcfacd16a004cae267055a9e76ff3a210","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.12.0","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"b1ebc22fcfacd16a004cae267055a9e76ff3a210","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-0.1.0.tgz","integrity":"sha512-sT7to/Zvh85Ckj2mQ0LkQ+wlKc/PDm34XB8qq78iEBD5wfP/2psME3cmhRtm9ZteKiX0ahJv70P/zNC1dvnLJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5xaLgH6CS06yBttGopI6UDTJ6ZGb5g+rJ7XVk9A6L4AiEAg7V6PyB39T80Yvd+rTbj7afyYfxhctiaW1VUpWe3JOM="}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"directories":{}},"0.1.1":{"name":"react-toggle-display","version":"0.1.1","description":"Hide/show a component's children","repository":{"type":"git","url":"https://github.com/ccnokes/react-toggle-display"},"main":"./dist/index.js","scripts":{"test":"jest","build":"node ./node_modules/gulp/bin/gulp.js build","prepublish":"npm run build"},"keywords":["react","react-component","hide","show","toggle","component"],"author":{"name":"Cameron Nokes"},"license":"MIT","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"gulp":"^3.9.0","gulp-babel":"^5.1.0","jest-cli":"^0.4.15","react-tools":"^0.13.3"},"jest":{"scriptPreprocessor":"<rootDir>/preprocessor.js","unmockedModulePathPatterns":["<rootDir>/node_modules/react"]},"gitHead":"cc97c50537246af2be30c546c8bd12d339cdc286","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display","_id":"react-toggle-display@0.1.1","_shasum":"66b3ffe1d3244a66c21a015066c2cda668afbef5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"dist":{"shasum":"66b3ffe1d3244a66c21a015066c2cda668afbef5","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-0.1.1.tgz","integrity":"sha512-kd9wJZUsUn+pQ4MGfSsG8jv9Lk60G+P/Izild1X3Q+J8jE4n+jOt6bs5inbXGD2hCTr3mHk3SojYNA4eOmNowQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAVS/RF/S48DmrjDkBlCyjjzxrBTSrmZwfLS84efDabrAiEAy8uYMn0SY+6YCmKkQ3vJO3XfHl4jlsDHV8pVsA8RKCk="}]},"directories":{}},"1.0.0":{"name":"react-toggle-display","version":"1.0.0","description":"Hide/show a component's children","repository":{"type":"git","url":"https://github.com/ccnokes/react-toggle-display"},"main":"./dist/index.js","scripts":{"test":"jest","build":"node ./node_modules/gulp/bin/gulp.js build","prepublish":"npm run build"},"keywords":["react","react-component","hide","show","toggle","component"],"author":{"name":"Cameron Nokes"},"license":"MIT","peerDependencies":{"react":">=0.11.0"},"devDependencies":{"gulp":"^3.9.0","gulp-babel":"^5.1.0","jest-cli":"^0.4.15","react-tools":"^0.13.3","react":">=0.11.0"},"jest":{"scriptPreprocessor":"<rootDir>/preprocessor.js","unmockedModulePathPatterns":["<rootDir>/node_modules/react"]},"gitHead":"27240b4704b7940110a6464322091d0f8b87dd5a","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display","_id":"react-toggle-display@1.0.0","_shasum":"2eae46d8c6929e4b926ac6b6a076eaa4ed40f74e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"dist":{"shasum":"2eae46d8c6929e4b926ac6b6a076eaa4ed40f74e","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-1.0.0.tgz","integrity":"sha512-MMmVpc8nXH/7q7HjiRDNQD6U0IkpmylC4aILxZb00phba0+9IN5+ZcWaDaBNC7Bgkq5lUGO2uR92+/gRwD/xWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD16K17yY9MZcTsaoAubIV1018RPxzxP9oK0Rts89MlUwIhAJGPjyBTuf9C4r9vpAc+KB3f3CMXUQf05/a7lHkvADGi"}]},"directories":{}},"2.0.1":{"name":"react-toggle-display","version":"2.0.1","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/index.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel index.jsx --out-file dist/index.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"babel-cli":"6.1.18","babel-preset-es2015":"6.1.18","babel-preset-react":"6.1.18","babel-preset-stage-0":"6.1.18","cheerio":"0.19.0","tape":"4.2.2"},"dependencies":{"react":"0.14.2","react-dom":"0.14.2"},"gitHead":"a4c9eecbc94bde10d3c189ea53cccda743b6d7e5","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.0.1","_shasum":"309d3dbc02f3c0e309d1536936abfc075b3e331c","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.1","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"309d3dbc02f3c0e309d1536936abfc075b3e331c","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.0.1.tgz","integrity":"sha512-UCMpHb2EmHm+ZSUfgR4QwsoSQjjFQYSh/z7A8u2V8V8rFGYDRECC9e1Osqx7eDO+88XwzUJwHY4rG2oFFsiRRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTIUXmCWc+TOo5qTJA6ebxId4/3lnC9QPuKklyqE0lUAiEA2fnBSBrNyZ+jRGCM1vi8iKgTtYB0H4PwKzti3eifUFI="}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"directories":{}},"2.0.2":{"name":"react-toggle-display","version":"2.0.2","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/index.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel index.jsx --out-file dist/index.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"babel-cli":"6.1.18","babel-preset-es2015":"6.1.18","babel-preset-react":"6.1.18","babel-preset-stage-0":"6.1.18","cheerio":"0.19.0","react":"^0.14.0","react-dom":"^0.14.0","tape":"4.2.2"},"gitHead":"b7ea2af87e684d69c7525f40270411277df1521a","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.0.2","_shasum":"8caa76df108ce4a452402761a8d6b0275e206042","_from":".","_npmVersion":"3.4.0","_nodeVersion":"4.1.1","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"8caa76df108ce4a452402761a8d6b0275e206042","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.0.2.tgz","integrity":"sha512-UK7QzywVu4uAwGGrIySNoTU/MplgKPkoLsDz7v8LuMcYX9PS/PBHARqinOdV4Ri/eh8wYEdpYLSz0tNCiSeT9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCds2MsQv1R4kP4EvqoURU0KHAL07BznzuxSASwye6FNQIhAPzS6dGy+l6HDX0RBpEBSJLXXRt6YWv9w0V5e2iXH3uv"}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"directories":{}},"2.1.0":{"name":"react-toggle-display","version":"2.1.0","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/ToggleDisplay.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel ToggleDisplay.jsx --out-file dist/ToggleDisplay.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"babel-cli":"6.1.18","babel-plugin-transform-es2015-modules-umd":"^6.12.0","babel-preset-es2015":"6.1.18","babel-preset-react":"6.1.18","babel-preset-stage-0":"6.1.18","cheerio":"0.19.0","react":"^15.3.0","react-dom":"^15.3.0","tape":"4.2.2"},"gitHead":"90d51277c7a614bda0d1bd4e306cea82ec353079","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.1.0","_shasum":"34b5cd7f7f92d63b1924dc8ad87d4329b4c074f4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"34b5cd7f7f92d63b1924dc8ad87d4329b4c074f4","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.1.0.tgz","integrity":"sha512-AlyQdQssZ7016RorRZs94emZT7MWxjR+WaU6wRMPdeUY1t+FqaD0EZO1c1PYy4tZcePbrYpXLv+M6gYblqchJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJSF13I0SQxSkOtYIIOwQcWvUOJvo1DLoXfXb6M3veEAiAx15bNPxubdE9+yT6j0Bb98ndlaaXNjllwtiVPsKJY+g=="}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-toggle-display-2.1.0.tgz_1471292308653_0.3443982326425612"},"directories":{}},"2.1.1":{"name":"react-toggle-display","version":"2.1.1","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/ToggleDisplay.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel ToggleDisplay.jsx --out-file dist/ToggleDisplay.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"babel-cli":"6.1.18","babel-plugin-transform-es2015-modules-umd":"^6.12.0","babel-preset-es2015":"6.1.18","babel-preset-react":"6.1.18","babel-preset-stage-0":"6.1.18","cheerio":"0.19.0","react":"^15.3.0","react-dom":"^15.3.0","tape":"4.2.2"},"gitHead":"3dbec0c20c263139187f2ac0795fa119d0218010","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.1.1","_shasum":"8a36f6f482c8e3cc5283e7ecfed527cb251561dc","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.1.0","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"8a36f6f482c8e3cc5283e7ecfed527cb251561dc","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.1.1.tgz","integrity":"sha512-HoUCOhsyt7DzHlIcsc6i1X5fVMNk4VAx3q+1rB5KQgiOmLbE6ipp1leC3rIaj+pIZQVNrZA2UhkCVimTXa7OBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv+UEHRVTs86KZLE8NUQtyagLmTjS5VDFhG5q1zpSqeAIhAKOhPbRZ5DEE9SuOYIeMetLd30BGZxFra1LCSEAMvYVB"}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/react-toggle-display-2.1.1.tgz_1471318244158_0.7769210827536881"},"directories":{}},"2.2.0":{"name":"react-toggle-display","version":"2.2.0","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/ToggleDisplay.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel ToggleDisplay.jsx --out-file dist/ToggleDisplay.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"babel-cli":"6.1.18","babel-plugin-transform-es2015-modules-umd":"^6.12.0","babel-preset-es2015":"6.1.18","babel-preset-react":"6.1.18","babel-preset-stage-0":"6.1.18","cheerio":"0.19.0","react":"^15.5.4","react-dom":"^15.5.4","tape":"4.2.2"},"dependencies":{"prop-types":"^15.5.8"},"gitHead":"3f9b26b86804071637bafd1bba7019f053b78081","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.2.0","_shasum":"20a66de23e69d5bd975c4bb3cfeaf18748266c49","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"ccnokes","email":"ccnokes@gmail.com"},"dist":{"shasum":"20a66de23e69d5bd975c4bb3cfeaf18748266c49","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.2.0.tgz","integrity":"sha512-4v7QiJoGT/w91yvcXXM/NeueR2nQJ3gl80T5KR8bbquFtgvYMok5u0IjVEICYCX7u+6d4R/V2i4bzSYpdwcZ5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI/np80XsmXvB3u3UjVbyT0n+q0w2+BSyce5YBMlIV+QIhAPnTn0jyvmEQjD8H3p4OqidvrJAoQn/AtT0mVn/iDWyG"}]},"maintainers":[{"name":"ccnokes","email":"ccnokes@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-toggle-display-2.2.0.tgz_1492983972707_0.16722151590511203"},"directories":{}},"2.2.1":{"name":"react-toggle-display","version":"2.2.1","description":"Hide/show a component's children","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"main":"./dist/ToggleDisplay.js","scripts":{"test":"babel-node ./__tests__/ToggleDisplay-test.js","build":"npm run clean && mkdir -p ./dist && babel ToggleDisplay.jsx --out-file dist/ToggleDisplay.js","clean":"rm -rf dist","prepublish":"npm run build"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/preset-env":"^7.11.0","cheerio":"1.0.0-rc.3","react":"^16.13.1","react-dom":"^16.13.1","tape":"5.0.1"},"dependencies":{"@babel/node":"^7.10.5","@babel/plugin-proposal-class-properties":"^7.10.4","@babel/preset-react":"^7.10.4","prop-types":"^15.7.2"},"gitHead":"1afdd5b98f56d6f08bb964883bf60994285e8a4c","bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"homepage":"https://github.com/ccnokes/react-toggle-display#readme","_id":"react-toggle-display@2.2.1","_nodeVersion":"14.3.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-KadpOhjR4rwsgmHTQ/EyXHE8XcVeaiVLfBVc5bMo/evYgWSMZhkaVxTdUOtOQUizCK54vETzrhCxRBxHkk5z1A==","shasum":"40d987026f709569f63ecb1a6af921fb95696a25","tarball":"https://registry.npmjs.org/react-toggle-display/-/react-toggle-display-2.2.1.tgz","fileCount":6,"unpackedSize":6521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOL+6CRA9TVsSAnZWagAA8JYP/1NTOmLkY4RphETGbt+v\n53QU2GVIkng9k63zjgJgP/1nxcKI6dDNJt+WtDUZ1hkwnIk+i8GeaKLTROF9\nc3EJoTtu09viz8pwE8kbhkNGnMhnXrLRyTYwmUydaPSZflcgSpvCQ6urzve8\n6lk9QtpzxIWEdjCN7jvT19o80B79i+bIovJ5cuRm7wc64GYWm0TmMNasiVn2\npiUSMCarsNUBGFZ8r/YQNFwj6HrRyIjPIkea6fcX9cpYgHxl/knD+CVtctTA\nJhB9fg4qfnQmnRIaK7Om8T0p6Xi4Cq/Ji6MqJ3FECeMpA93V3RF5tRN15zZG\nI+qx9ZlJA+EHDiGvd7BOuTqO5eYOM6xtvAuYuwBlTfpOkEk8/+7qFDrr5Szr\nk0fwA6+CRFrKZ+ar/skFtl6ubsCr00x52yxrQkWlMFpFkBwr92u6iCNywahX\nYPomHwsqBdkPWoYidkG1ZQ1hj8xrR1vDGPtHxqUVqLHcmaj9bPeCa4jOkMUB\nzB4KJlxOOXOWDImBo8KJ4RexcyzO28Y0vtz2DX5V3+zWWCdmDd2qqLLQOEDN\nTzVaZsdA9jT1f95fW1dTh1wyQe664bqKW0UBxrRDvSbr5MTws9aoo4EFQMBK\nzKGiHbturXYj7WSkZvXYCsYEoWp4hq3FMQFQI0HoScqd1U/9k6kwRE4sshWm\n3W46\r\n=NNok\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEmPE9WguSZ+TlspTZTZ/XyGhcyRDynI3TmnXqhqp5iAiEAsLjleH4XmCGFhje3VbRs/ymEXQBIuM7AC67sLOG/paM="}]},"maintainers":[{"email":"ccnokes@gmail.com","name":"cameronnokes"}],"_npmUser":{"name":"cameronnokes","email":"ccnokes@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-toggle-display_2.2.1_1597554618158_0.5836943600327766"},"_hasShrinkwrap":false}},"readme":"# react-toggle-display\n\n[![Build Status](https://travis-ci.org/ccnokes/react-toggle-display.svg?branch=master)](https://travis-ci.org/ccnokes/react-toggle-display)\n\nA stateless react component that toggles the display of it's children. It's like `ng-show`, `ng-hide` or `ng-if` but for react.\n\nThis allows you to DRY up statements like this:\n\n```javascript\n<div className={this.props.shouldHide ? 'hidden' : ''}>\n```\n\nExample usage:\n\n```javascript\nimport React, { Component } from 'react';\nimport ToggleDisplay from 'react-toggle-display';\n\nclass App extends Component {\n  constructor() {\n    super();\n    this.state = { show: false };\n  }\n\n  handleClick() {\n    this.setState({\n      show: !this.state.show\n    });\n  }\n\n  render() {\n    return (\n      <div className=\"App\">\n        <p className=\"App-intro\">\n          <button onClick={ () => this.handleClick() }>Toggle things</button>\n        </p>\n        <ToggleDisplay show={this.state.show}>\n          I am rendered in a span (by default) and hidden with display:none when show is false.\n        </ToggleDisplay>\n\n        <ToggleDisplay if={this.state.show} tag=\"section\">\n          I am rendered in a section and removed from the DOM when if is false.\n        </ToggleDisplay>\n      </div>\n    );\n  }\n}\n\nexport default App;\n\n```\n[View demo](https://jsfiddle.net/ccnokes/oqttsu83/)\n\n\n## Props\n\n`hide` - boolean\n\n`show` - boolean\n\n`if` - boolean\n\n`tag` - string. The tag name to use as the ToggleDisplay element. Defaults to span.\n\nThe two first props are simply the inverse of each other. Using both at the same time will result in canceling each other out.\n\n\n## Install\n\n```\nnpm install react-toggle-display\n```\n\n## Tests\n\nTo run tests: `npm test`\n\n\n\n## Contributors\n\nBig thanks to [willgm](https://github.com/willgm) for his contributions.\n\n\n## Change Notes\n\nNote that if you are using a version under 0.1.1, you will have to compile react-toggle-display's JSX yourself. I recommend just updating to 1.x so you don't have to worry about that. No breaking API changes in 1.x.\n\nWhile v2 does not change anything functionally, it was refactored to be a [\"stateless functional component\"](https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html#stateless-functional-components), which won't work in React versions less than 0.14.\n\nv2.2 adds the `prop-types` package to get rid of some warnings when using React 15.5\n\n","maintainers":[{"email":"ccnokes@gmail.com","name":"cameronnokes"}],"time":{"modified":"2022-06-26T08:40:08.987Z","created":"2015-07-04T02:35:38.930Z","0.0.1":"2015-07-04T02:35:38.930Z","0.0.2":"2015-07-04T03:46:20.639Z","0.1.0":"2015-07-05T05:42:41.106Z","0.1.1":"2015-07-12T00:26:23.189Z","1.0.0":"2015-07-24T05:28:00.746Z","2.0.1":"2015-11-15T03:57:01.967Z","2.0.2":"2015-11-16T17:32:07.317Z","2.1.0":"2016-08-15T20:18:30.548Z","2.1.1":"2016-08-16T03:30:46.791Z","2.2.0":"2017-04-23T21:46:14.639Z","2.2.1":"2020-08-16T05:10:18.291Z"},"keywords":["react","reactjs","react-component","hide","show","toggle","component","functional-component"],"author":{"name":"Cameron Nokes"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/ccnokes/react-toggle-display#readme","repository":{"type":"git","url":"git+https://github.com/ccnokes/react-toggle-display.git"},"bugs":{"url":"https://github.com/ccnokes/react-toggle-display/issues"},"users":{"amandeepmittal":true,"cameronnokes":true}}