Created
July 5, 2021 18:35
-
-
Save marshallmurphy/45c933b23f3626d818e0b4e0b97ebbf9 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
import Lottie from 'react-lottie-segments'; | |
import animationData from './lotties/toggle.json'; | |
import './App.css'; | |
function App() { | |
const options = { | |
}; | |
return ( | |
<div className="App"> | |
<Lottie | |
options={options} | |
height={400} | |
width={400} | |
/> | |
</div> | |
); | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment