Feature/add emoji to webapp (#345)

This commit is contained in:
crazywoola
2023-06-13 14:54:12 +08:00
committed by GitHub
parent cd136fb293
commit 433f8cb57e
6 changed files with 100 additions and 76 deletions

View File

@@ -1,11 +1,11 @@
import React from 'react'
import './style.css'
interface ILoadingProps {
type ILoadingProps = {
type?: 'area' | 'app'
}
const Loading = (
{ type = 'area' }: ILoadingProps = { type: 'area' }
{ type = 'area' }: ILoadingProps = { type: 'area' },
) => {
return (
<div className={`flex w-full justify-center items-center ${type === 'app' ? 'h-full' : ''}`}>