/
GreyCat
/
openhuman
Обзор
Документация
Войти
/
GreyCat
/
openhuman
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/src/components/RouteLoadingScreen.tsx
18 строк
521 B
Steven Enamakel
feat(theme): runtime theming — semantic tokens, Theme Studio, presets (#4130)
26 июн 2026, 00:33
Не верифицирован
26 июн 2026, 00:33
a49f2ce
Код
Авторство
О чём код?
import { useT } from '../lib/i18n/I18nContext'; interface RouteLoadingScreenProps { label?: string; } const RouteLoadingScreen = ({ label }: RouteLoadingScreenProps) => { const { t } = useT(); return ( <div className="h-full min-h-[280px] w-full flex items-center justify-center"> <div className="rounded-xl border border-line bg-surface px-4 py-3 text-sm text-content-secondary"> {label ?? t('app.routeLoading.initializing')} </div> </div> ); }; export default RouteLoadingScreen;