fix(storybook): Fixing broken UI Storybook components' pages (#3455)
This commit is contained in:
1 parent
9ee13860a2
commit
874260340a
49 files changed
+194
-91
No files matched your search
@@ -1,12 +1,13 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import ReactModal from 'react-modal';
|
||||
import { useModal } from '../../contextProviders';
|
||||
|
||||
import Icon from '../Icon';
|
||||
import Typography from '../Typography';
|
||||
|
||||
import './Modal.css';
|
||||
|
||||
import { Typography, Icon } from '../';
|
||||
import { useModal } from '../../contextProviders';
|
||||
|
||||
if (typeof document !== 'undefined') {
|
||||
ReactModal.setAppElement(document.getElementById('root'));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user