Update components

This commit is contained in:
Labhansh Agrawal 2023-07-24 00:51:04 +05:30
parent 08d182acda
commit 7a5df2fc5e
8 changed files with 39 additions and 22 deletions

View file

@ -1,7 +1,10 @@
import React from 'react';
import type {NotificationProps, NotificationState} from '../hyper';
export default class Notification extends React.PureComponent<NotificationProps, NotificationState> {
export default class Notification extends React.PureComponent<
React.PropsWithChildren<NotificationProps>,
NotificationState
> {
dismissTimer!: NodeJS.Timeout;
constructor(props: NotificationProps) {
super(props);