@useloops/design-system
Version:
The official React based Loops design system
2 lines (1 loc) • 563 B
JavaScript
"use strict";var t=require("react/jsx-runtime"),e=require("@lottiefiles/dotlottie-react"),o=require("@mui/material");const i=()=>t.jsx(e.DotLottieReact,{src:"https://useloops-public.s3.eu-west-2.amazonaws.com/public/logo/loops-logo-animation.lottie",loop:!0,autoplay:!0,width:1920,height:1080});module.exports=({fullscreen:e})=>e?t.jsx(o.Box,{sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100dvw",height:"calc(100dvh - 80px)",background:t=>t.custom.palette.white},children:t.jsx(o.Box,{sx:{width:200},children:t.jsx(i,{})})}):t.jsx(i,{});