/
githubmirror
/
tldraw
Обзор
Документация
Войти
/
githubmirror
/
tldraw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
apps/docs/components/common/loader.tsx
37 строк
776 B
alex
consistent function style (#4468)
09 сен 2024, 16:38
Не верифицирован
09 сен 2024, 16:38
4752713
Код
Авторство
О чём код?
export function Loader({ className }: { className?: string }) { return ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 14" className={`w-7 fill-current ${className}`} > <circle stroke="none" cx="6" cy="7" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.1" /> </circle> <circle stroke="none" cx="26" cy="7" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.2" /> </circle> <circle stroke="none" cx="46" cy="7" r="6"> <animate attributeName="opacity" dur="1s" values="0;1;0" repeatCount="indefinite" begin="0.3" /> </circle> </svg> ) }