{"_id":"@bluefunctor/library-template-utils","_rev":"5-a6fd3d6344da9e3857b23be5ca743d61","name":"@bluefunctor/library-template-utils","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.2":{"name":"@bluefunctor/library-template-utils","version":"0.0.2","description":"Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth i","keywords":[],"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"license":"ISC","main":"lib/library-template-utils.js","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"scripts":{"build":"library-builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"homepage":"https://github.com/Blue-Functor/create-component-library#readme","devDependencies":{"@bluefunctor/library-builder":"^0.0.1","react":"^17.0.1"},"peerDependencies":{"copy-to-clipboard":"^3.3.1","react":"17.x"},"dependencies":{"copy-to-clipboard":"^3.3.1"},"gitHead":"216f3f5f2d9b87c84b9c4b83297807120c61216b","_id":"@bluefunctor/library-template-utils@0.0.2","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (darwin)","dist":{"integrity":"sha512-8puzfwmgEzg/pO0WgkdZlBRNT22A0MEeTSrvZ/M3SFtPx6aREYYSFEXG/YF/S+Fmib50NbI8lsqXXMFeMdaNNA==","shasum":"0fe61c19c65cff3961cd9fde2e03fde626c1f001","tarball":"https://registry.npmjs.org/@bluefunctor/library-template-utils/-/library-template-utils-0.0.2.tgz","fileCount":12,"unpackedSize":9037,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEKUZCRA9TVsSAnZWagAA804P/i5CfgS+hiKj4kRmeL4e\nzoseCKua5o02pQVQCEjKKxkPG3wAsfpy3VON8TUKuVTHJyPF1CoDHPr8qdfq\nCbxmndDHQH/EoT3MVj1aa9BdCp/fwrStZdjCO4Rb5tpJ89/QpiIDI9sGZIvZ\nn2iOqWP39dxeimh+mWFPWNBYCJCh7UHa6YzY7qpsHRV+N5XMtTwBPYPnPxxO\nQwOed2s9KGGDs1/2Ry02+UwTjcBbp7UNaQFD0chB4AdKynbh5FWxBxyojq+F\n5nBheMTesgiaxra5Dvi0dNu8RsNkKQvRFPc6LLn5Bo47hGFii0b8jKQlDunn\nTEsT1MKBMz1aTKCZYxfK0Tu6nyrsyg/J4SvhKlrDaz+KhT1WiPcB8S3KyDYz\n1foYyT3BWVOinFwaI/1JMyMeBnx02wjWPrVcRLsno12kjkClKRMQmQVrIZhC\nd92Gbl+/wAqzHcu9vVVt9HInCphZyWcTz0qlJPvjeH4J9RHxcDqOz6Dcs6IU\nZt/alCUJQcI2xovzNNvyWpWyQkB7zRmFKbVOUEbFCBzNGRr7FYWkZZqIggTJ\ndCXZWiq12UG97XZQthBUWsU/2QS5hberf4LaerrAujSX2z3yLuhwqQMfKFqb\n/rD5PTsfxxC/WkXwR5uVJK9sLfnCeNZrBEbD35S2Kfs6ry2EfCElelb9yX0i\n9HtS\r\n=p5tX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9cLIimVEJ9SnQjvyb5EipzMN4uKNIc1tpFBhvmXAWTAiEA/W1625tulShs8Q4JyZVzJeVScEWHJuz209kTEKEveHU="}]},"_npmUser":{"name":"glivas","email":"georgelivas9@gmail.com"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-template-utils_0.0.2_1611703577542_0.29603097667036193"},"_hasShrinkwrap":false},"0.1.0":{"name":"@bluefunctor/library-template-utils","version":"0.1.0","description":"Useful utility functions and UI components for Storybook.","keywords":["Storybook","Utilities","React","Documentation"],"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"license":"ISC","main":"lib/library-template-utils.js","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"scripts":{"build":"library-builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"homepage":"https://github.com/Blue-Functor/create-component-library#readme","devDependencies":{"@bluefunctor/library-builder":"^0.0.1","react":"^17.0.1"},"peerDependencies":{"copy-to-clipboard":"^3.3.1","react":"17.x"},"dependencies":{"copy-to-clipboard":"^3.3.1"},"gitHead":"c41fae4745eae5ac0a33926a70a02d09330502b0","_id":"@bluefunctor/library-template-utils@0.1.0","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (darwin)","dist":{"integrity":"sha512-8sVTo643yRecIRnz07CoPWa4NP7b/wQgrSj9cfoUTVSj/9ICqSKZG0/9VqvfAhlkMVxZYg62zo4KbenSEIPZKw==","shasum":"644937125e63b378666713d1b4eade676855f5bb","tarball":"https://registry.npmjs.org/@bluefunctor/library-template-utils/-/library-template-utils-0.1.0.tgz","fileCount":12,"unpackedSize":13798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEVURCRA9TVsSAnZWagAAd68P/RPyDRVxtIRtWOUE6XFz\nLLJ9aSRpj7R1Lm+T+JgjAMLMxP4/rUJwK0Sx/vx3bTVPnzGV8y6CjdNXZyaj\nvzz/0efqpANdNv/o9HLrSAvsDl+wBn1hZusdoHyA32434VUVSrgdNrug0LQl\nh3maV1n/miv+TZdxFp3/N9R3Kjuma/lcEZ6nV1ZO214AQeJA9Bka5coarImz\nlIhpSDkg1IrrQIhna7duiaJa++eDaqUClbFeX/a8R7ILexB0wCV2qvcWh3q0\nk9dsOAY8WqOLv4cGfGrURv+HPcZN1SmHizyfFMDyIAFcqAQU8idqg1a3guH0\n50i4AVJnDL2kUr4aoM75DK14JwEaEXtruLGDYKkwQpRJafepjswiOfeh2XeO\nKHVzDz5GtvGZrWKVwWCshneBJEY6eG5+v4ssGvHopde6svLHdjEkintiaVNu\npt/SsClDrV4lwTqXaXpzzsqWDgWnZqMzFH83+BaNWL1KftVreiE3Foe/GCnE\nf07hntU4GBgPugv+NhzzTtEgKFlDKtng1QfIsdU/AbfYdrtHA/C7mgZylhIl\nxuyK966i/pnCbq8Ey4Wp0m5c7TdF4IICDF/+KMrIV5ntRbxtTlPAGxJwkUwX\nvqWrhN1/iv4sX9K82k+Pq9LsIyQMRfOcduko+luOZ1gl+BSsHRrBVUM7kHpI\nMcf/\r\n=4aiP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmyKjZ9cR1yCuIpQONYe0rgYuNpiuxX2I3dolEFFhwVQIgXbZQbfdCmfEWJ8S8DSTdxyZE8hV5QCs+hSdGlGDQe6o="}]},"_npmUser":{"name":"glivas","email":"georgelivas9@gmail.com"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-template-utils_0.1.0_1611748625088_0.4363409189222047"},"_hasShrinkwrap":false},"0.1.1":{"name":"@bluefunctor/library-template-utils","version":"0.1.1","description":"Useful utility functions and UI components for Storybook.","keywords":["Storybook","Utilities","React","Documentation"],"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"license":"ISC","main":"lib/library-template-utils.js","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"scripts":{"build":"library-builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"homepage":"https://github.com/Blue-Functor/create-component-library#readme","devDependencies":{"@bluefunctor/library-builder":"^0.1.1","react":"^17.0.1"},"peerDependencies":{"copy-to-clipboard":"^3.3.1","react":"17.x"},"dependencies":{"copy-to-clipboard":"^3.3.1"},"gitHead":"f53135dab196b45cdc3fef4e56fbd95cfd0f72f0","_id":"@bluefunctor/library-template-utils@0.1.1","_nodeVersion":"15.7.0","_npmVersion":"lerna/3.22.1/node@v15.7.0+x64 (darwin)","dist":{"integrity":"sha512-3qNowTdfF3g31yHWehCS4+fo31GwCnUjr+AgdkC8MXJA2+4F+s1esNL/u49i+Kjuahdqg7mzbldy2fvQ+HeFNQ==","shasum":"b4b0ff960c1a8ad946a36ebb4d136e5f1eb9e36f","tarball":"https://registry.npmjs.org/@bluefunctor/library-template-utils/-/library-template-utils-0.1.1.tgz","fileCount":12,"unpackedSize":13798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGv4mCRA9TVsSAnZWagAAUjgP/3dFjoQxDIFbwLY1Kh9R\nLNR0pRA8xztem4dqIN1ILtXiUP+6vEpnWabt5jf/NIBk9b9hayT7hq4j9w1o\nKeBRzK71WPmW7L+TsxrHDxCh8bQHpslZyJynT7AtmGTTy93Pp+O5qJxU4qYF\n1GXVZadHJiNk9+RpinKCG2/cX4oNjEKHffmlGnDjSaxmkELmG75MRLdYGU44\nOS1VGCGIyFciygTpFEkmVQwfy5yMgd7851AV85JivDMISlppaGX8ucd2h9lF\n41UVYNTnefxWWVnztLrYtD0kVrQ6HVd5AIbAyHyX7IfgwJ53bM9X0bVi5XNc\n0edUA5muQ4nQV8m0magVxTdHO3PwkNeQB9wFo1Ws0IqXi/MwcS0fioDrvryN\nE5XP5bbjn0XEBEhaTLO5xThGdlByYXBE+x9YyEXsaHVtInK3nCENhkRjLGnM\nUwQiQaBShKWeGfOHyLokBvFX4/ZAuUogI2hPWElOk4i1MqXuix8dfDVn3TOr\n1uWRmuWW/qseHKmFz+q676ggam4OXY9MTr3RkOLyjmVBnZGfGDpm+dwy1SKM\nCmzlF5Xsh9PeZEHtA4BW+4ZtHmpcIh4lSkutJ6CFW1MydTmIxnPUNXoovleU\n/a+CIgzvUi/coDmr/sQMRFDWIHknUS1n+6luWK16shlGTHzHiNWIH+rd6T8Z\n4F3Z\r\n=mHXx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETX0WjGCqSfDztG0iO7rWEcFtFuxNrMWFXLgeU3kNtZAiEA4rJt2JJTgNtYNJLQPuX0ZvVWmvreAyWGUszJXJQjmH8="}]},"_npmUser":{"name":"glivas","email":"georgelivas9@gmail.com"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-template-utils_0.1.1_1612381734071_0.9740584638845668"},"_hasShrinkwrap":false},"0.1.2":{"name":"@bluefunctor/library-template-utils","version":"0.1.2","description":"Useful utility functions and UI components for Storybook.","keywords":["Storybook","Utilities","React","Documentation"],"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"license":"ISC","main":"lib/library-template-utils.js","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"scripts":{"build":"library-builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"homepage":"https://github.com/Blue-Functor/create-component-library#readme","devDependencies":{"@bluefunctor/library-builder":"^0.1.2","react":"^17.0.1"},"peerDependencies":{"copy-to-clipboard":"^3.3.1","react":"17.x"},"dependencies":{"copy-to-clipboard":"^3.3.1"},"gitHead":"510cfb9c126c792779d574a698affe8b9c953f79","_id":"@bluefunctor/library-template-utils@0.1.2","_nodeVersion":"15.7.0","_npmVersion":"lerna/3.22.1/node@v15.7.0+x64 (darwin)","dist":{"integrity":"sha512-tD2lTYMNX7qv6Pa6BfMLGAV/372Po2vXIaIJDAJ8vgcEODOPuX2y58WIlNrYlBY9/6IA4Do4UXUe76e41hDRlg==","shasum":"c8b11e98e9937857fe8c21e89c9ee8157ac3992b","tarball":"https://registry.npmjs.org/@bluefunctor/library-template-utils/-/library-template-utils-0.1.2.tgz","fileCount":12,"unpackedSize":13798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGwsJCRA9TVsSAnZWagAAY60P/34xW3jsRJaAY7Peu+Zl\nsW+d5Vo9uZbH6AuRmwDZHjOZ1/9hnRMUGF/WrYOkgnEekN5tQtJhRcxAXU78\nvBVKQcL3DzRpODZ0Xc0zfTywWyAY482fUKu9MOXvC2DqUR3T2j8Y4TF+PHO4\nFDI5nhTHio2vUxkW+0OUSeAH/rONes3R0K1Hy8tWf2CNB8K1znoOEgrEY5eo\nri/dKDZiRtPqUB8BPU7+Y+HxSULfQWDwtRKQ3u1ZCRoq71MGRJx2d3zOKUNg\nPau9O6Abog7nTCfOsHD6LsfB+Nu+yxtYnTRcovO2F1xzA2etUSMv4xfsVmvE\naNrFDZRCocy1N2SeKqtR/YZ/1675tmJBJK/z1Focks1ZCHbg6MnKNM010Kwj\nu5iE9IbjU+zPh8V+vEb8bRTuFa6HZOOibKvWTs1lvobB5/RTKmn5ilq2focm\nf6h/7y1ewr7+VrCWmFgb50d8E3E9Rm1Kj3gntcfPqmcu0TV0Qt4kUCA0IiMg\n+3eIvrB5u8BC0ahsvLav3FVfY6NYk8mE+V98vK3osvh6VEUpZCCGHCTz8Cc7\ndSSP2vmqkNWtzXHTJIwMyAk6ADvMvUO4K3M0YrXJAzHddg1qaziFkGn2H1sN\neYYPuWz6fcajTwTNQM3VR3aWz+G/RyJ3kpRbzBhpztyKrcy9ZVZOBSfAcT73\ns9WK\r\n=W0A4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1GxwE2Cv+o9cMEZc0J+RniwdPCcP/KZ7nMsR2uu0OUAiEA95SryK2GYsADlUSzIoOzacJSRumT2D73FDvwIEpnjuI="}]},"_npmUser":{"name":"glivas","email":"georgelivas9@gmail.com"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-template-utils_0.1.2_1612385033209_0.6466759843936445"},"_hasShrinkwrap":false},"0.1.3":{"name":"@bluefunctor/library-template-utils","version":"0.1.3","description":"Useful utility functions and UI components for Storybook.","keywords":["Storybook","Utilities","React","Documentation"],"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"license":"ISC","main":"lib/library-template-utils.js","directories":{"lib":"lib","test":"__tests__"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"scripts":{"build":"library-builder","test":"echo \"Error: run tests from root\" && exit 1"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"homepage":"https://github.com/Blue-Functor/create-component-library#readme","devDependencies":{"@bluefunctor/library-builder":"^0.1.3","react":"^17.0.1"},"peerDependencies":{"copy-to-clipboard":"^3.3.1","react":"17.x"},"dependencies":{"copy-to-clipboard":"^3.3.1"},"gitHead":"65f7299ae01df09ad29b3109b93272e5af808a45","_id":"@bluefunctor/library-template-utils@0.1.3","_nodeVersion":"15.7.0","_npmVersion":"lerna/3.22.1/node@v15.7.0+x64 (darwin)","dist":{"integrity":"sha512-GyGkLvuB/8K3ZOzU5W5rJ0IKo0AecGQLyTYA40UOUVVn+kLyDrJ6aQOtVxndNZ2tnSfqz67LHNdpcFDYGRcehA==","shasum":"1ba50ca9c9b4f9e61ff03292a50e5fcd0e9207d5","tarball":"https://registry.npmjs.org/@bluefunctor/library-template-utils/-/library-template-utils-0.1.3.tgz","fileCount":12,"unpackedSize":13798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGwu3CRA9TVsSAnZWagAA6ksP/3Q4LRlH7Q5eBOFibowp\nQZ80AirtGyWOPPjk3hL7Xc2vxEOzGtLsGtaiOE+qWvVQCovSHPwcy+m5MBxJ\nW7uxYYDt+4dqQ7c/h1ijNzupKbF8vvGH1dYw9rcC5A1gSqL0XIsITKa1CrQq\nvWUGwwdnRVG4Db38FSJIjzPfNN4cebLp/fumG0SrcWtBOGGCxqNI0s7aS7de\noheGpnSJLCG64St03YXE9se7nBv+SvU/xfo0XNdPtFtH97dgZtR/2HRfu6e6\nnru9k+AzIzPJD/GuMMhsFQrsZ6CeZE6PEafUpowA2JpwLKZU/RT7hj+mhtZf\np//t7CEdiDJQwhr6iFlI1C8dqWP855yIXR2dzJLL/uEll62goi8IF422b+fH\nAqpzjrn5HKbTlzhhy8IU0EKiWnqaJ4vKzjzGHlGcFxfe9u9nOuF62Wf83O4d\nm5VIeOi1Q6bUriMUV3JxoIOS9bl5XwNXutq9768agkVnzP2OlRH8RIkU6IXf\nsqyFej084q947ecNRiHD7P6cj+EkogvpjT5ENcj8cr3k1Fenmmk14K5RhMfW\nwCJLrTerH+Etd8c6aINFKJNTDg2maZpI56cxCJsVeBTHy1AzSkS9aBW57RTa\nFKNfDPG21jDkTm5MZYJwGZu0HM/RhPOTfaxhTbw1J+VG2UAod7v4PFLwEk7v\njP8X\r\n=jZ0S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEf0+kdC5LpT8dacaMMO/fv1f9Wk+zRO7xTcdjrYxNZqAiBH5dXdXvs9TqEXBXeyxUX4ZiO0IGB5B7mdoMMSo0oHZw=="}]},"_npmUser":{"name":"glivas","email":"georgelivas9@gmail.com"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-template-utils_0.1.3_1612385206699_0.21363776609116614"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-26T23:26:17.282Z","0.0.2":"2021-01-26T23:26:17.639Z","modified":"2022-04-04T19:47:45.328Z","0.1.0":"2021-01-27T11:57:05.181Z","0.1.1":"2021-02-03T19:48:54.223Z","0.1.2":"2021-02-03T20:43:53.350Z","0.1.3":"2021-02-03T20:46:46.793Z"},"maintainers":[{"name":"glivas","email":"georgelivas9@gmail.com"}],"description":"Useful utility functions and UI components for Storybook.","homepage":"https://github.com/Blue-Functor/create-component-library#readme","keywords":["Storybook","Utilities","React","Documentation"],"repository":{"type":"git","url":"git+https://github.com/Blue-Functor/create-component-library.git"},"author":{"name":"georgelivas","email":"giorgos.livas.99@gmail.com"},"bugs":{"url":"https://github.com/Blue-Functor/create-component-library/issues"},"license":"ISC","readme":"# library-utils\n\nUseful utility functions and UI components for Storybook.\n\n```js\nimport { \n    Description, \n    createMainStory,\n    generateStory, \n    generateSubstories \n} from '@bluefunctor/library-template-utils';\n\n```\n\n## createMainStory()\n\nThe `createMainStory` function creates the story object that should be exported using `export default`.\n\n\n### Arguments\n\n- **options**: (*Object*)\n    - **title**: (*String*) The title of the Story.\n    - **component**: (*Component*) The `Component` of the Story.\n    - **description**: (*String* | *Component*) Will be placed under the title of the Story.\n    - **argTypes**: (*Object*) Descriptions and controls for the `props` table of the Story. [More...](https://storybook.js.org/docs/react/writing-stories/args)\n    - **options**: (*Object*) You can use the options to pass extra parameters to the generated object.\n\n### Returns\n\n**story**: (*Object*) The Story object that storybook expects to be exported as default from a `*.stories.js` file.\n\n### Example\n\nSimple Story\n\n```js\nconst story = createMainStory({\n    title: 'Example/Component',\n    component: Component,\n});\n```\n\nStory with `Description` and argument descriptions.\n\n```js\nconst story = createMainStory({\n  title: 'Example/Button',\n  component: Button,\n  description: (\n      <Description\n          name={'Button'}\n          description={'Buttons allow users to take actions, and make choices, with a single tap.'}\n          packageUrl={'https://bit.dev/georgelivas/storybook-template/button'}\n          installCommand={'$ yarn add @bit/georgelivas.storybook-template.button'}\n      />\n  ),\n  argTypes: {\n    backgroundColor: {\n      control: 'color',\n      description: 'Button background color',\n      default: '#fff',\n    },\n    label: {\n      description: 'The text of the button',\n      control: {\n        type: 'text',\n      },\n    },\n    primary: {\n      description: 'The color of the button',\n      table: {\n        type: {\n          summary: 'more',\n          detail: 'This color come from the theme of the project.'\n        },\n      },\n    },\n    size: {\n      description: 'The size can be \\`small\\` \\`medium\\` or \\`large\\`',\n      control: {\n        type: 'text',\n      },\n    }\n  },\n});\n```\n\n## generateStory()\n\nThe `generateStory` function creates a sub-story.\n\n> `generateStory` should be used after creating the main story and exporting it as default.\n\n\n### Arguments\n\n- **options**: (*Object*)\n    - **Template**: (*Component*) The Template is a component that passes arguments to the component of the story.\n    ```javascript\n        const Template = args => <YourComponent {...args} />;\n    ```\n    - **props**: (*Object*) These `props` will be passes to the arguments of the component in the Template.\n    - **description**: (*String* | *Markdown*) Will be placed above the sub-story.\n\n### Returns\n\n**Story**: (*Component*) The sub-story component should be assigned to a `const` and exported.\n\n### Example\n\nSimple Story\n\n```js\nconst Greeting = generateStory({\n    Template,\n    props: {},\n});\n```\n\nStory with `Description` and props for the component.\n\n```js\nconst Greeting = generateStory({\n    Template,\n    props: {\n        message: 'Hello!', \n    }, \n    description: 'This component says \\`Hello!\\`' \n}); \n```\n\n## generateSubstories()\n\nThe `generateSubstories` function creates multiple sub-stories for the same `Component`.\n\n> `generateSubstories` should be used after creating the main story and exporting it as default.\n\n\n### Arguments\n\n- **Template**: (*Component*) The Template is a component that passes arguments to the component of the story.\n- **...story options**: (*coma-separated Objects*) Each `Object` represents a sub-story. These `props` will be passed to the arguments of the component in the `Template`.\n    - **options**: (*Object*)\n        - **name**: (*String*) The title of the sub-story.\n        - **props**: (*Object*) These `props` will be passes to the arguments of the component in the Template.\n        - **description**: (*String* | *Markdown*) Will be placed above the sub-story.\n\n### Returns\n\n**stories**: (*Object*) The object has the names of each `option` from the props as `key` and holds the generated Story as `value`;\n\n### Example\n\nGenerating a single Story\n\n```js\nconst stories = generateSubstories(\n    Template,\n    {\n      name: 'Primary',\n      description: 'some story **markdown**',\n      props: {\n        primary: true,\n        label: 'Button',\n      },\n    }\n);\n```\n\nGenerating multiple Stories\n\n```js\nconst stories = generateSubstories(\n    Template,\n    {\n      name: 'Primary',\n      description: 'some story **markdown**',\n      props: {\n        primary: true,\n        label: 'Button',\n      },\n    },\n    {\n      name: 'Secondary',\n      description: 'Typically used for less-pronounced actions.',\n      props: {\n        label: 'Button',\n      },\n    },\n    {\n      name: 'Large',\n      description: 'Use \\`size\\` to draw attention',\n      props:{\n        size: 'large',\n        label: 'Button',\n      },\n    },\n    {\n      name: 'Small',\n      props:{\n        size: 'small',\n        label: 'Button',\n      },\n    },\n);\n```\n\n","readmeFilename":"README.md"}