/
githubmirror
/
OpenAgents
Обзор
Документация
Войти
/
githubmirror
/
OpenAgents
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
frontend/components/Chat/ChatLoader.tsx
24 строки
644 B
Impavidity
Update: add frontend code
14 окт 2023, 20:07
14 окт 2023, 20:07
478f036
Код
Авторство
О чём код?
import { FC } from 'react'; import Paper from '@mui/material/Paper'; import RobotIcon from '@/icons/RobotIcon'; interface Props {} export const ChatLoader: FC<Props> = () => { return ( <div className="w-full bg-[#F3F3F3] text-[#011020] relative flex items-center justify-start"> <RobotIcon className={`rounded-full ml-28`} width={30} height={30} /> <Paper elevation={3} className="relative w-[4rem] bg-white my-4 flex items-center p-3 text-base rounded-2xl ml-4 mr-40" > <span className="animate-pulse cursor-default">▍</span> </Paper> </div> ); };