2022-12-13 08:57:05 +01:00

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;
};