mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 10:28:42 +00:00
perf: backup import (#4866)
* i18n * remove invalid code * perf: backup import * backup tip * fix: indexsize invalid
This commit is contained in:
@@ -3,8 +3,10 @@ import { Box, HStack, Icon, type StackProps } from '@chakra-ui/react';
|
||||
|
||||
const LightTip = ({
|
||||
text,
|
||||
icon = 'common/info',
|
||||
...props
|
||||
}: {
|
||||
icon?: string;
|
||||
text: string;
|
||||
} & StackProps) => {
|
||||
return (
|
||||
@@ -17,7 +19,7 @@ const LightTip = ({
|
||||
fontSize={'sm'}
|
||||
{...props}
|
||||
>
|
||||
<Icon name="common/info" w="1rem" />
|
||||
<Icon name={icon} w="1rem" />
|
||||
<Box>{text}</Box>
|
||||
</HStack>
|
||||
);
|
||||
|
Reference in New Issue
Block a user