@kadira/storybook-channel-postmsg
v2.0.1
Published
Post Message channel for Kadira Storybooks. This channel can be used when the Storybook Renderer runs inside an iframe or a child window. A channel can be created using the `createChannel` function.
Downloads
24,876
Keywords
Readme
Post Message Channel
Post Message channel for Kadira Storybooks. This channel can be used when the Storybook Renderer runs inside an iframe or a child window. A channel can be created using the createChannel
function.
import createChannel from '@kadira/storybook-channel-postmsg'
const channel = createChannel({ key: 'postmsg-key' })