Created
July 5, 2021 18:43
-
-
Save marshallmurphy/335fb126c4f9c277787d3df0149a1e3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
return ( | |
<div className="App"> // keep this div for styling later | |
<div onClick={() => animate()}> // here | |
<Lottie | |
options={options} | |
height={400} | |
width={400} | |
isClickToPauseDisabled={true} | |
playSegments={sequence} | |
/> | |
</div> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment