index.js 243 B

1234567
  1. /* eslint-disable no-underscore-dangle */
  2. import { global } from '@storybook/global';
  3. export const setCompodocJson = (compodocJson) => {
  4. // @ts-expect-error (Converted from ts-ignore)
  5. global.__STORYBOOK_COMPODOC_JSON__ = compodocJson;
  6. };