Transition component typing fix

This commit is contained in:
tmshv committed 2022-09-06 12:57:53 +03:00
1 parent 89d0aa9926
commit b6775d8bab
1 file changed
+5 -1
+5 -1
View File
@@ -34,7 +34,11 @@ export const Transition: React.FC<ITransitionProps> = props => {
} }
}, [props.show]) }, [props.show])
return mounted && ( if (!mounted) {
return null
}
return (
<div <div
style={{ style={{
...props.extraStyle, ...props.extraStyle,