chore(deps): update react to 18 (#2943)

This commit is contained in:
Ryan Cohen
2022-08-18 17:05:58 +09:00
committed by GitHub
parent 72d7a3477f
commit e5d8c93ab8
164 changed files with 982 additions and 915 deletions

View File

@@ -9,12 +9,12 @@ import React from 'react';
import type { ToastProps } from 'react-toast-notifications';
import Transition from '../Transition';
const Toast: React.FC<ToastProps> = ({
const Toast = ({
appearance,
children,
onDismiss,
transitionState,
}) => {
}: ToastProps) => {
return (
<div className="toast pointer-events-none flex max-w-full items-end justify-center px-2 py-2 sm:items-start sm:justify-end">
<Transition