move typings into a separate directory
This commit is contained in:
parent
33f7d2bad5
commit
c62ed62752
56 changed files with 87 additions and 78 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue