2.0.1 • Published 7 years ago
@kadira/storybook-channel-postmsg v2.0.1
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' })