diff --git a/FabricExample/src/screens/Examples/Close/index.tsx b/FabricExample/src/screens/Examples/Close/index.tsx index f803d07d44..784d04e0df 100644 --- a/FabricExample/src/screens/Examples/Close/index.tsx +++ b/FabricExample/src/screens/Examples/Close/index.tsx @@ -10,6 +10,7 @@ function CloseScreen() { const ref = useRef(null); const [keepFocus, setKeepFocus] = useState(false); + const [animated, setAnimated] = useState(true); return ( @@ -18,6 +19,11 @@ function CloseScreen() { title={keepFocus ? "Keep focus" : "Don't keep focus"} onPress={() => setKeepFocus(!keepFocus)} /> +