fix i18next.d.ts (#2064)

* fix i18next.d.ts

* feat: packages web i18n

* delete file
This commit is contained in:
jingyang
2024-07-17 15:27:51 +08:00
committed by GitHub
parent 36f8755d09
commit 982325d066
75 changed files with 216 additions and 204 deletions

View File

@@ -83,11 +83,11 @@ const MyRadio = ({
)}
<Box pr={hiddenCircle ? 0 : 2} flex={'1 0 0'}>
<Box fontSize={'sm'} color={'myGray.800'}>
{typeof item.title === 'string' ? t(item.title) : item.title}
{typeof item.title === 'string' ? t(item.title as any) : item.title}
</Box>
{!!item.desc && (
<Box fontSize={'mini'} color={'myGray.500'} lineHeight={1.2}>
{t(item.desc)}
{t(item.desc as any)}
</Box>
)}
</Box>