Fix eslint ts override tsx matching and delint
This commit is contained in:
parent
b1cc078543
commit
9ba33c7f80
54 changed files with 268 additions and 231 deletions
|
@ -29,7 +29,15 @@ interface IProps extends IGenericToastProps {
|
|||
|
||||
const SECOND = 1000;
|
||||
|
||||
const GenericExpiringToast: React.FC<IProps> = ({description, acceptLabel, dismissLabel, onAccept, onDismiss, toastKey, numSeconds}) => {
|
||||
const GenericExpiringToast: React.FC<IProps> = ({
|
||||
description,
|
||||
acceptLabel,
|
||||
dismissLabel,
|
||||
onAccept,
|
||||
onDismiss,
|
||||
toastKey,
|
||||
numSeconds,
|
||||
}) => {
|
||||
const onReject = () => {
|
||||
if (onDismiss) onDismiss();
|
||||
ToastStore.sharedInstance().dismissToast(toastKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue