Skip to content

Instantly share code, notes, and snippets.

@ShekMak
Created February 21, 2022 19:18
Embed
What would you like to do?
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