Norbert de Langen 113e0582d2
Merge branch 'next' into future/move-code-into-directory
# Conflicts:
#	.vscode/launch.json
#	CONTRIBUTING.old.md
#	code/lib/cli/tsconfig.json
#	scripts/tsconfig.json
2022-07-26 08:33:57 +02:00

447 B

Storybook PostMessage Channel

Storybook PostMessage Channel is a channel for Storybook that 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 '@storybook/channel-postmessage';

const channel = createChannel({ key: 'postmsg-key' });

For more information visit: storybook.js.org