mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
13 lines
338 B
TypeScript
13 lines
338 B
TypeScript
import { useTranslation } from 'react-i18next';
|
|
import { Card } from '@/components/ui/Card';
|
|
|
|
export function PlaceholderPage({ titleKey }: { titleKey: string }) {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<Card title={t(titleKey)}>
|
|
<p style={{ color: 'var(--text-secondary)' }}>{t('common.loading')}</p>
|
|
</Card>
|
|
);
|
|
}
|