move typings into a separate directory

This commit is contained in:
Labhansh Agrawal 2023-07-25 15:09:51 +05:30
parent 33f7d2bad5
commit c62ed62752
56 changed files with 87 additions and 78 deletions

View file

@ -1,5 +1,5 @@
import React, {forwardRef, useEffect, useRef, useState} from 'react';
import type {NotificationProps} from '../hyper';
import type {NotificationProps} from '../../typings/hyper';
const Notification = forwardRef<HTMLDivElement, React.PropsWithChildren<NotificationProps>>((props, ref) => {
const dismissTimer = useRef<NodeJS.Timeout | undefined>(undefined);