mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 05:31:05 +08:00
8 lines
243 B
JavaScript
8 lines
243 B
JavaScript
/* eslint-disable no-underscore-dangle */
|
|
import { global } from '@storybook/global';
|
|
|
|
export const setCompodocJson = (compodocJson) => {
|
|
// @ts-expect-error (Converted from ts-ignore)
|
|
global.__STORYBOOK_COMPODOC_JSON__ = compodocJson;
|
|
};
|