Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Import createElement without importing everything else
  • Loading branch information
mrginglymus committed Oct 23, 2025
commit 16b602ef64ab166b49456bfb4caaa596361ae5ed
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { global } from '@storybook/global';

import memoize from 'memoizerific';
// @ts-expect-error (Converted from ts-ignore)
import { createElement } from 'react-syntax-highlighter/dist/esm/index';
import createElement from 'react-syntax-highlighter/dist/esm/create-element';
import bash from 'react-syntax-highlighter/dist/esm/languages/prism/bash';
import css from 'react-syntax-highlighter/dist/esm/languages/prism/css';
import graphql from 'react-syntax-highlighter/dist/esm/languages/prism/graphql';
Expand Down
Loading