{"_id":"@elricb/ink-box-list","_rev":"6-1bfb493fcd98d511bcb1d20a00d222b2","name":"@elricb/ink-box-list","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"@elricb/ink-box-list","version":"0.0.1","description":"Text input component for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"main":"lib","engines":{"node":">=11"},"scripts":{"build":"babel src/ -d lib/","release":"npm run build && npm run lint && npm test && npm publish","example":"node lib/example/index.js","lint":"xo","test":"ava","test-update-snapshots":"ava --update-snapshots"},"keywords":["ink","component","jsx","react"],"devDependencies":{"@ava/babel":"^2.0","@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/plugin-transform-react-jsx":"^7.14.9","@babel/preset-env":"^7.15.6","@babel/preset-react":"^7.14.5","@elricb/prettier-config":"0.0.1","@elricb/xo-config":"0.0.1","ava":"^3.15.0","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","ink":"^3.0.5","ink-testing-library":"^2.0.0","ink-use-stdout-dimensions":"^1.0.5","prettier":"^2.4.1","pretty-quick":"^3.1.1","react":"^17.0.2","xo":"^0.44.0"},"peerDependencies":{"ink":"^3.0.5","react":"^17.0.2"},"prettier":"@elricb/prettier-config","ava":{"babel":{"testOptions":{"presets":["@babel/preset-react"]}}},"babel":{"presets":[],"plugins":["@babel/plugin-transform-react-jsx"]},"dependencies":{},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"homepage":"https://github.com/elricb/ink-box-list#readme","directories":{"lib":"lib","test":"test"},"gitHead":"9948f261e56fbe676c7b4b38233ae95cbe7b09a4","_id":"@elricb/ink-box-list@0.0.1","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-aQ/60Pf2CuA8PH170A9jlhJx0RXQGx6Wwd2XT17f/XLON1jWy1wncPe61AhKeM7hVTGpKF0+oBK6hTJX/cG0ew==","shasum":"519863a9184fc924b9aa711ceb0eeea52b9bd632","tarball":"https://registry.npmjs.org/@elricb/ink-box-list/-/ink-box-list-0.0.1.tgz","fileCount":22,"unpackedSize":51477,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIARaf1xOso//SR6hqvJN8zk0Z9plSbJ+fmGDkQcBmu1iAiBuzjpurlicVeDIWN5olRQTxQ3ZzeoM+KBbJ9X0RTQIBA=="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box-list_0.0.1_1634243638352_0.3511260082839218"},"_hasShrinkwrap":false},"0.0.2":{"name":"@elricb/ink-box-list","version":"0.0.2","description":"List of wrapping boxes for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"main":"lib","engines":{"node":">=11"},"scripts":{"build":"babel src/ -d lib/","release":"npm run build && npm run lint && npm test && npm publish","example":"node lib/example/index.js","lint":"xo","test":"ava","test-update-snapshots":"ava --update-snapshots"},"keywords":["ink","component","jsx","react"],"devDependencies":{"@ava/babel":"^2.0","@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/plugin-transform-react-jsx":"^7.14.9","@babel/preset-env":"^7.15.6","@babel/preset-react":"^7.14.5","@elricb/prettier-config":"0.0.1","@elricb/xo-config":"0.0.1","ava":"^3.15.0","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","ink":"^3.0.5","ink-testing-library":"^2.0.0","ink-use-stdout-dimensions":"^1.0.5","prettier":"^2.4.1","pretty-quick":"^3.1.1","react":"^17.0.2","xo":"^0.44.0"},"peerDependencies":{"ink":"^3.0.5","react":"^17.0.2"},"prettier":"@elricb/prettier-config","ava":{"babel":{"testOptions":{"presets":["@babel/preset-react"]}}},"babel":{"presets":[],"plugins":["@babel/plugin-transform-react-jsx"]},"dependencies":{},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"homepage":"https://github.com/elricb/ink-box-list#readme","directories":{"lib":"lib","test":"test"},"gitHead":"029b0d6aa8027e0d6216f26a22167e9e37b63936","_id":"@elricb/ink-box-list@0.0.2","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-l6G2DSVFtVhu/KaGhpSty0LUWHMPDRNE7yqscsr4fFUAUFnB0gubZFn780AxlvRgpuImznaj3SBQRidjB3qjUw==","shasum":"311028f900c5d1f3472c0298382fb4e891293ed5","tarball":"https://registry.npmjs.org/@elricb/ink-box-list/-/ink-box-list-0.0.2.tgz","fileCount":22,"unpackedSize":51495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPlPY3wmjkgqvcDVi9EffZD1iDBwFKnXqb49OnV3jdsQIgZh/QbybZ0F1b1y9ykdSpN+U6Xy+I6kKMXEtcijTGhqA="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box-list_0.0.2_1634244670015_0.9953327879541287"},"_hasShrinkwrap":false},"0.0.3":{"name":"@elricb/ink-box-list","version":"0.0.3","description":"List of wrapping boxes for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"main":"lib","engines":{"node":">=11"},"scripts":{"build":"babel src/ -d lib/","release":"npm run build && npm run lint && npm test && npm publish","example":"node lib/example/index.js","lint":"xo","test":"ava","test-update-snapshots":"ava --update-snapshots"},"keywords":["ink","component","jsx","react"],"devDependencies":{"@ava/babel":"^2.0","@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/plugin-transform-react-jsx":"^7.14.9","@babel/preset-env":"^7.15.6","@babel/preset-react":"^7.14.5","@elricb/prettier-config":"0.0.1","@elricb/xo-config":"0.0.1","ava":"^3.15.0","eslint-config-xo-react":"^0.25.0","eslint-plugin-react":"^7.20.0","eslint-plugin-react-hooks":"^4.0.4","ink":"^3.0.5","ink-testing-library":"^2.0.0","ink-use-stdout-dimensions":"^1.0.5","prettier":"^2.4.1","pretty-quick":"^3.1.1","react":"^17.0.2","xo":"^0.44.0"},"peerDependencies":{"ink":"^3.0.5","react":"^17.0.2"},"prettier":"@elricb/prettier-config","ava":{"babel":{"testOptions":{"presets":["@babel/preset-react"]}}},"babel":{"presets":[],"plugins":["@babel/plugin-transform-react-jsx"]},"dependencies":{},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"homepage":"https://github.com/elricb/ink-box-list#readme","directories":{"lib":"lib","test":"test"},"gitHead":"36aa87f408f733262acf45dd33fa39ace9cf86cd","_id":"@elricb/ink-box-list@0.0.3","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-kNBl69VSIR22MqjGWmnZW1DI2MjIheZz62EIQxA8tTIiiOunJQBR5XeK3cJdf04o6QlsbAwpOdZuBWtKtly/YQ==","shasum":"29b59edd1be8e8c46ed6bc3f6edc954d7306d678","tarball":"https://registry.npmjs.org/@elricb/ink-box-list/-/ink-box-list-0.0.3.tgz","fileCount":22,"unpackedSize":51495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1bmECRA9TVsSAnZWagAAndIP/36NNaA527ibmp4Dgb+d\naiPsH0PUvinMgPrflCylVdpjWdc+5DC6zL/Rnt2AAOPpJlsrMFvwIQZon76w\nx/tRMQ488GXy2MQ8s2vHOmE26Oj8pU2O91BBAChEqgRYgNvB1E5elljxCwKc\nw6oLXJQYORukKDb53bkKcIJbK4qzaItv2EhyHe1ES/1rTGBjJ4ujGNekI9zM\n3G9iQYXR9UcHWRDBchmkNMfK/G7sAdYOzuo9rjO1Gfj4xAREq5/cVds4Fep+\n8hA658dMjkRHwxSZTx1IzWFuOVN8AtGFldNgv6+afuoxtWV/IbRObMegP7s6\nSElbVXUyvYmMicjXIZvST40PEtwjMoqOEIpDdJKQcIN+vLNOuQToU5vClsEI\n3relERob1G0fXw/RkWtwZkoOhbqdfEjRmtndsR9GtDKjiSy7oziI22fy1De4\nQ5BiC1VG7ejOXbgw0FHtpydTf4tWvQLz7EH4HqENV5scxd69aUyY6WYDNjfA\nTuSLDg9z7/3FcWMQptZJf6hlPiANmQRVKAVL2TyxJPNZV1plQGLUh3IYggaL\nPhOywEqym4PNBMIMomjIh3RXQosmSbpn94R6vkmGG68HBFJBuzsItyKepJCp\nqnQ4L1+BRHm+UFPMrkIaCo0e368WAGVJ74D6PnEm/8MC4Op9aHUahzKHdh9i\n0eRu\r\n=uVSE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHumQSd4L8Rj7cqkYE7PpcicpO+YncqbfCudslhsDmWGAiBROVYsf2UebciG+SeQYkD8VMosxJirBS9B10bWfG3l/g=="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box-list_0.0.3_1634245180901_0.6595213995761646"},"_hasShrinkwrap":false},"0.0.4":{"name":"@elricb/ink-box-list","version":"0.0.4","description":"List of wrapping boxes for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"main":"lib","engines":{"node":">=11"},"scripts":{"build":"babel src/ -d lib/","release":"npm run build && npm run lint && npm test && npm publish","example":"node lib/example/index.js","lint":"xo","test":"ava","test-update-snapshots":"ava --update-snapshots"},"keywords":["ink","component","jsx","react"],"prettier":"@elricb/prettier-config","ava":{"babel":{"testOptions":{"presets":["@babel/preset-react"]}}},"babel":{"presets":[],"plugins":["@babel/plugin-transform-react-jsx"]},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"homepage":"https://github.com/elricb/ink-box-list#readme","directories":{"lib":"lib","test":"test"},"devDependencies":{"@ava/babel":"^2.0","@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-react-jsx":"^7.16.7","@babel/preset-env":"^7.16.11","@babel/preset-react":"^7.16.7","@elricb/prettier-config":"0.0.1","@elricb/xo-config":"^0.0.4","ava":"^4.0.1","eslint-config-xo-react":"^0.26.0","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","ink":"^3.2.0","ink-testing-library":"^2.0.0","ink-use-stdout-dimensions":"^1.0.5","prettier":"^2.5.1","pretty-quick":"^3.1.3","react":"^17.0.2","xo":"^0.47.0"},"peerDependencies":{"ink":">=2","prop-types":">=14","react":">=16"},"gitHead":"6975bda5e7298bd086aa2fb92ae26d2b63222766","_id":"@elricb/ink-box-list@0.0.4","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-xWGpBtyYO8zpR3xgb1Bgad+JS+kZi9y1Q2SICp3uYsz6jd6TQpG+pBPXZzSLAA57i6+Zsy/M7qBBB0BT52Msjg==","shasum":"8a02a1042e0ac87bffd9d1cb7c5d31e2967ff983","tarball":"https://registry.npmjs.org/@elricb/ink-box-list/-/ink-box-list-0.0.4.tgz","fileCount":21,"unpackedSize":45347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9IkWCRA9TVsSAnZWagAACgUP/jLqjXSsbEUlCGZdGDEB\nEZodxkGP8Qj9ZpVQCv1RuWvFFhdqHdLUZM2F4P15VDfSxBQRKDnPF/7ZM99r\nY77OzE2PEPzvXshmOiIK+BJgd575Sw567ENOl3elo6aKTMhIwT3vzr6kKPEk\nbNy0xtVDenoFxC0cwim8u3S+bPEMV2xJoZXJpC1Pty4Odjo1UjjTCRmTzqvk\nQ1pQFbDWBNWz9OXMheWMdYyjnoIh0SmhDd+dH1IJ2D/hReDLw+bBfh65bY6M\nIBUu3txQU52XR4OEJa0cJvKFlDmPsfeUY1DoMRRh5CnxXnj8tPmEMp8CWCjR\nnN8pkaaxCZfH8ZZyDGMNv7lOs6yeSIar8d/ZMfMHnCyvPTHRwlPw5b+zmm5V\nPuLSPQ+8i0+UmfFyETR0w5iB6hF2ltpKMsws24gBnpz3KYMfipZbuTYiisYm\nao4FH0dSBtbWCqGxxDvJn14DX9IvpYrg4vTc0BU69XSR9QUBp5feHD+4AcpA\nhLdBsaWq5WLuLPwcNsKmGQVB5mJHlQchcfCR0aPzHbXHbbYZeBwDGuPAx+IP\nzKc4BKPIDGnXVoMYVIXH+6lZhhasRtPt2acQ5eFrLXV760ZthzCic+o5c8Ao\nWfAXVWKyT21YXquDeMy+0J3Br+H/L2MOwWjdrsvzUR3qTCWifKU2XdgIunWA\n3JSz\r\n=ZwD5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmktLmrnIhuuSyMFpnOXtJZX3jmV2k91Jaa+C3tI0FOAiEAnJ+T1FDKyGilCTiXDI1SVlgtA+OZxNwtwTSrt0Yi57M="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box-list_0.0.4_1643415830811_0.976824049317546"},"_hasShrinkwrap":false},"1.0.0":{"name":"@elricb/ink-box-list","version":"1.0.0","description":"List of wrapping boxes for Ink","license":"MIT","repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","engines":{"node":">=12"},"scripts":{"build":"rollup -c","start":"rollup -c -w","release":"npm run build && npm run lint && npm test && npm publish","example":"node lib/example/index.js","lint":"xo","test":"ava","test-update-snapshots":"ava --update-snapshots"},"keywords":["ink","component","jsx","react"],"prettier":"@elricb/prettier-config","ava":{"babel":{"testOptions":{"presets":["@babel/preset-react"]}}},"babel":{"presets":[],"plugins":["@babel/plugin-transform-react-jsx"]},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"homepage":"https://github.com/elricb/ink-box-list#readme","directories":{"lib":"lib","test":"test"},"devDependencies":{"@ava/babel":"^2.0","@babel/cli":"^7.16.8","@babel/core":"^7.16.12","@babel/plugin-transform-react-jsx":"^7.16.7","@babel/preset-env":"^7.16.11","@babel/preset-react":"^7.16.7","@elricb/prettier-config":"0.0.1","@elricb/xo-config":"^0.0.5","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","ava":"^4.0.1","eslint-config-xo-react":"^0.26.0","eslint-plugin-react":"^7.28.0","eslint-plugin-react-hooks":"^4.3.0","ink-testing-library":"^2.0.0","ink-use-stdout-dimensions":"^1.0.5","parcel":"^2.2.1","prettier":"^2.5.1","rollup":"^2.66.1","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","xo":"^0.47.0"},"peerDependencies":{"ink":">=3","prop-types":">=14","react":">=16"},"gitHead":"17a28d5401830575e627b48ef4d7be3c28ba5275","_id":"@elricb/ink-box-list@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-nZkvwYGXgW+ehFJqaahKBTA52C4u6OQziDF2RCRdJcgnoq+rENqJQoDigk3yFT7t6cHLJiXXdRS5L4gVfPXrfg==","shasum":"1d85e879367045039bb216e2c889de474bfe5d05","tarball":"https://registry.npmjs.org/@elricb/ink-box-list/-/ink-box-list-1.0.0.tgz","fileCount":11,"unpackedSize":92501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+hBrCRA9TVsSAnZWagAA26cP/3j3p92lSQmNt/1bcfJ3\nq556hHz3ORiGYJMcCgeu9o7Ib3+Jlro+B0N3AiU1mCqBsdf3+J5RgZIzCV4N\ngHifW07dWTHUrm7eMQkXPrwDqsBjvP2TrwG1u8+bm8tL6eoMZ+Ifrw9rnK95\nz+NrzPUa9UHVX5dFmcl4nwTepj76knA/i/388VYoj3KN6UFDmR+IVyWxTa+C\nslBaGqiZyrSp9iq8EBhO/bYQs9w7plfmVwEKmtTzlXIeO51L7WbIA1o4lw+i\nbJ3uJCOYMbIOuMRJuM11vrkkiAJwKJXN7G/h7oqatsETEWW8reYh5UE0ZRSy\n33upl9ECNCZSLuNEn6Qscrfu3iTrfpkK/Tpt1DACrrTAUyFGTHmEI+8ZWeCE\n1KY+HU3cUhSIN5CHB1kZnXNrIxFoZcUQRGG9wJJhHyKHNmLsaMh+4izPQt5A\n/01SEEvQAJD4c+YwqfQkJim4TQOJcKdANTaMvYgHaYBLozNucnOCXcMiPfi7\n6rGgXYcTQJLcIkRQB1amp3AZZ7OFawBNfUfbMKaghsU2HU9Z6EHY6euLFIwg\nEOSsLMVv6hTngZ1y9kP5u8cd5JkaKiI3fasoi4HVP8xoEEQA02Yub4re5fIn\n8UxQ3ntP4pFZ7gdLNwobr25ptm+3R7ThTAz/Q11+k5qqZXyML1ou8rMAjeb4\nzbE1\r\n=Sfjl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAINFqT1I3SjJnNkW/wZJ+ivaX8pjnK9rSmNqYj1eBI0AiEA2803ZWm64Z7oChGZkhgP+Dh+dNZ1HNgz182j+6PJX0M="}]},"_npmUser":{"name":"elricb","email":"elricb@elricbest.com"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-box-list_1.0.0_1643778155354_0.27199812413294655"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-14T20:33:58.306Z","0.0.1":"2021-10-14T20:33:58.730Z","modified":"2022-04-05T07:23:04.229Z","0.0.2":"2021-10-14T20:51:10.188Z","0.0.3":"2021-10-14T20:59:41.083Z","0.0.4":"2022-01-29T00:23:50.925Z","1.0.0":"2022-02-02T05:02:35.495Z"},"maintainers":[{"name":"elricb","email":"elricb@elricbest.com"}],"description":"List of wrapping boxes for Ink","homepage":"https://github.com/elricb/ink-box-list#readme","keywords":["ink","component","jsx","react"],"repository":{"type":"git","url":"git+https://github.com/elricb/ink-box-list.git"},"author":{"name":"elricb","url":"github.com/elricb"},"bugs":{"url":"https://github.com/elricb/ink-box-list/issues"},"license":"MIT","readme":"# @elricb/ink-box-list\n\n> Box list component for [Ink](https://github.com/vadimdemedes/ink).\n\nI made this for personal use to provide status overview lists. I'm sharing in case it's useful to anyone.\n\nThis relies on all boxes being the same width and is not a true yoga line wrapping style tool.\n\n## Requirements\n\n* [node](https://nodejs.org/en/download/) - recommended lts version >= 12\n\n## Install\n\n```\n$ npm install @elricb/ink-box-list\n```\n\n## Usage\n\n```jsx\nimport React from \"react\";\nimport {render} from \"ink\";\nimport BoxList from \"@elricb/ink-box-list\";\n\nconst statusColor = {\n  running: \"green\",\n  stopped: \"red\",\n  pending: \"yellow\"\n};\n\nconst DevBoxes = () => (\n  <BoxList\n    list={[\n      [\"app.lxc\", \"express\", \"192.168.0.102\", \"running\"],\n      [\"data.lxc\", \"graphql\", \"192.168.0.106\", \"running\"],\n      [\"pricing.lxc\", \"laravel\", \"192.168.0.108\", \"running\"],\n      [\"geo.lxc\", \"laravel\", \"192.168.0.112\", \"stopped\"],\n      [\"message.lxc\", \"rabbit\", \"192.168.0.116\", \"stopped\"],\n      [\"offer.lxc\", \"dcm\", \"192.168.0.123\", \"pending\"]\n    ]}\n    setProps={a => ({borderColor: statusColor[a[3]]})}\n    setText={a => a.slice(3)}\n  />\n);\n\nrender(<DevBoxes />);\n```\n\n<img src=\"media/demo.gif\" width=\"90%\" style=\"max-width:1580px;\">\n\n## Props\n\n### list\n\nType: `array` / `object`\n\nData for boxes with a depth level of 2.\n\n### width\n\nType: `string` / `integer`\n\nNumber of columns or string percent.\n\n### align\n\nType: `string`\n\njustifyContent for text. Uses [Ink Box](https://github.com/vadimdemedes/ink#box) component property.\n\n### boxProps\n\nType: `object`\n\nSet parent [Ink Box](https://github.com/vadimdemedes/ink#box) component properties.\n\n### setProps\n\nType: `function`\n\nSet child box [Ink Box](https://github.com/vadimdemedes/ink#box) component properties. Function argument is current list item.\n\n```js\n// callback\nfunction(listDetails) {\n  return listDetails[0] === \"something\"\n    ? {borderStyle: \"double\"}\n    : {borderStyle: \"single\"};\n}\n```\n\n### setText\n\nType: `function`\n\nOverride box text. Function argument is current list item.\n\n```js\n// callback\nfunction(listDetails) {\n  if (listDetails[0] === \"message.lxc\") {\n    unset listDetails[2];\n  }\n\n  return listDetails;\n}\n```\n","readmeFilename":"readme.md"}