Skip to content

Commit

Permalink
fix #469
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed May 12, 2020
1 parent 670153a commit cd7a21e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ToastPositioner.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { ToastProps } from 'types';
import { ToastProps } from '../types';

type ToastPositionerProps = Pick<ToastProps, 'className' | 'style' | 'in'>;

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/toastContainerReducer.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Id } from 'types';
import { Id } from '../types';

import { hasToastId } from '../utils';

Expand Down
2 changes: 1 addition & 1 deletion src/utils/cssTransition.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Transition } from 'react-transition-group';
import { ToastTransitionProps } from 'types';
import { ToastTransitionProps } from '../types';

import { collapseToast } from './collapseToast';
import { DEFAULT } from './constant';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/propValidator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isValidElement } from 'react';

import { Id } from 'types';
import { Id } from '../types';

export function isNum(v: any): v is Number {
return typeof v === 'number' && !isNaN(v);
Expand Down

0 comments on commit cd7a21e

Please sign in to comment.