{"bugs":{"url":"https://github.com/storybooks/storybook/issues"},"dist":{"shasum":"b408d645a65da00d1d39f6e0f517d77f9ecf5901","tarball":"https://registry.npmjs.org/@storybook/addon-notes/-/addon-notes-4.1.5-react-debug.1.tgz","fileCount":13,"integrity":"sha512-wwl8eXUuqEqDF6d0kQ8j/EbP3tNxeKvDrloPRnFV7UixVxPmZBNhtt9LmorxLU6omLp4fxgZq+ap8KrJXDyZLw==","signatures":[{"sig":"MEQCIEDn0nQ4Bbao2e1wUtbaRQGxhuQ9DUito8D/4UvxFqPrAiA6JGxqZxeID0LrdSfHUTiXRQ/Mpdwn2SKuPIhvgs+WMg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":183548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNXpBCRA9TVsSAnZWagAAOyMP/i+rw+25LXvE4+lQnK05\nP+traeMci1v1Lj4zGx1v4DEuuVwMHP7G/uqq27Z924WgOYMdd2TQ8CnWO2w1\n9Hv0yEJwbjPhnLOUvnmhLjLtq0MMSBTZpJcEMV171zAttxaGfztSqUQDBJdn\nIrYglPIEEspwr3GGfMqgavDtgRofrudCfanHhW1HRD3PbQfcACVMMNAeRb7I\nq7NG5rl171eYwc83JBmRyy/X3IOx/d/n7ggWX9pTKPhFA5Z5orDAWQfSkHwe\nKXQ/YtMwlh2Z6dELAppgiUPKa6jUzufZ/2wuJ3yp1+0pQ5Tma7mZQX2HjM/I\n+8nVKsyjJ+3VX0sCGg83AGGpSKfdwWBueDNpYBI6/5Pjce6aMn6+CKJVZEuR\nc0srpg4dY5270GyLysW/tqRpahgCldQn9PpgR7SEpAdEivAwGFaiIbK2exhp\nz6qFRs6sDVaxCD8rzbu4+l2eW8gA3nBQkLSqGwWQCNINpiDhWsVIUi0PQQAi\n4nLbdIyGwZNHK71Ba4wsFgTg3fEMgmoyB2orRj7us4muOU2F8J6T4rY6LW7X\noGO30XWlLKawIbk3FqosLww1aNsM2OO0mDDGYB3Xrwu9mNA866F35CulqAMO\nJlR57Q0N8tNUG5IVmZ1Dm9kQcjiLb5yiqbucLQrS8UkXHdrtno6Nv4L63PX/\n1z3f\r\n=LE07\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"@storybook/addon-notes","readme":"# Storybook Addon Notes\n\nStorybook Addon Notes allows you to write notes (text or HTML) for your stories in [Storybook](https://storybook.js.org).\n\n[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md)\n\n![Storybook Addon Notes Demo](docs/demo.png)\n\n### Getting Started\n\n**NOTE: Documentation on master branch is for alpha version, stable release is on [master](https://github.com/storybooks/storybook/tree/master/addons/)**\n\n```sh\nyarn add -D @storybook/addon-notes\n```\n\nThen create a file called `addons.js` in your storybook config.\n\nAdd following content to it:\n\n```js\nimport '@storybook/addon-notes/register';\n```\n\nThen add the `withNotes` decorator to all stories in your `config.js`:\n\n```js\n// Import from @storybook/X where X is your framework\nimport { configure, addDecorator } from '@storybook/react';\nimport { withNotes } from '@storybook/addon-notes';\n\naddDecorator(withNotes);\n```\n\nYou can use the `notes` parameter to add a note to each story:\n\n```js\nimport { storiesOf } from '@storybook/react';\n\nimport Component from './Component';\n\nstoriesOf('Component', module).add('with some emoji', () => <Component />, {\n  notes: 'A very simple component',\n});\n```\n\n#### Using Markdown\n\nTo use markdown in your notes, either through import or inline, simply put it in the `markdown` property of your note.\n\n```js\nimport { storiesOf } from '@storybook/react';\nimport Component from './Component';\nimport someMarkdownText from './someMarkdownText.md';\n\nstoriesOf('Component', module).add('With Markdown', () => <Component />, {\n  notes: { markdown: someMarkdownText },\n});\n```\n","gitHead":"234686645735e91d11b5dc3a9d7d67e6cd602482","license":"MIT","scripts":{"prepare":"node ../../scripts/prepare.js"},"_npmUser":{"name":"shilman","email":"michael@lab80.co"},"homepage":"https://github.com/storybooks/storybook/tree/master/addons/notes","keywords":["addon","notes","storybook"],"repository":{"url":"https://github.com/storybooks/storybook.git","type":"git"},"description":"Write notes for your Storybook stories.","directories":{},"jsnext:main":"src/index.js","maintainers":[{"name":"alexandrebodin","email":"bodin.alex@gmail.com"},{"name":"danielduan","email":"dduan@yahoo.com"},{"name":"hypnosphi","email":"talpa@yandex.ru"},{"name":"igor-dv","email":"davydkin.igor@gmail.com"},{"name":"ndelangen","email":"ndelangen@me.com"},{"name":"pksunkara","email":"pavan.sss1991@gmail.com"},{"name":"shilman","email":"michael@lab80.co"},{"name":"tmeasday","email":"tom@thesnail.org"},{"name":"usulpro","email":"regx@usul.su"}],"dependencies":{"marked":"^0.5.2","core-js":"^2.5.7","prop-types":"^15.6.2","@emotion/styled":"^0.10.6","@storybook/addons":"4.1.5-react-debug.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"react":"*"},"_npmOperationalInternal":{"tmp":"tmp/addon-notes_4.1.5-react-debug.1_1547008576819_0.7460560569907289","host":"s3://npm-registry-packages"},"_id":"@storybook/addon-notes@4.1.5-react-debug.1","version":"4.1.5-react-debug.1"}