Skip to content

Instantly share code, notes, and snippets.

@ShekMak
Created February 21, 2022 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShekMak/9ddcc9f9f56474e9f01fbcd50281726b to your computer and use it in GitHub Desktop.
Save ShekMak/9ddcc9f9f56474e9f01fbcd50281726b to your computer and use it in GitHub Desktop.
import { Player } from '@lottiefiles/react-lottie-player'
import React from 'react'
function Loading() {
return (
<div className='h-screen w-screen flex flex-col items-center justify-center'>
<Player
autoplay
loop
src="https://assets5.lottiefiles.com/packages/lf20_3gl6z75q.json"
style={{ height: '300px', width: '300px' }}
></Player>
</div>
)
}
export default Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment