Update components
This commit is contained in:
parent
08d182acda
commit
7a5df2fc5e
8 changed files with 39 additions and 22 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue