Skip to content

Commit

Permalink
Use namespace import instead of default import for React
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Cruse committed Nov 3, 2021
1 parent d80dc6d commit 834bbbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Icons.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import * as React from 'react';

import { Theme, TypeOptions } from '../types';
import { Default } from '../utils';
Expand Down
3 changes: 2 additions & 1 deletion src/utils/cssTransition.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useEffect, useLayoutEffect, useRef } from 'react';
import * as React from 'react';
import { useEffect, useLayoutEffect, useRef } from 'react';
import { ToastTransitionProps } from '../types';

import { collapseToast } from './collapseToast';
Expand Down

0 comments on commit 834bbbd

Please sign in to comment.