diff --git a/example/src/App.tsx b/example/src/App.tsx index 8f4693f..c790283 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -45,46 +45,60 @@ function ButtonDemo() { } function BannerDemo() { + const [playing, setPlaying] = useState(false); return (
- - - react-native-ease - - - react-native-ease - - + {playing && ( + + + react-native-ease + + + react-native-ease + + + )} +
); } function PulseDemo() { + const [playing, setPlaying] = useState(false); return (
- + )} +
);