mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-25 06:14:06 +00:00

* perf: transcriptions api * perf: variable picker tip * perf: variable picker tip * perf: chat select app * feat: router to app detail * perf: variable avoid space * perf: variable picker * perf: doc2x icon and params * perf: sandbox support countToken * feat: sandbox support delay and countToken
17 lines
527 B
TypeScript
17 lines
527 B
TypeScript
import { Box, HStack, StackProps } from '@chakra-ui/react';
|
|
import React from 'react';
|
|
import MyIcon from '@fastgpt/web/components/common/Icon';
|
|
import { useTranslation } from 'next-i18next';
|
|
|
|
const VariableTip = (props: StackProps) => {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<HStack fontSize={'xs'} spacing={1} {...props}>
|
|
<MyIcon name={'common/info'} w={'0.9rem'} transform={'translateY(1px)'} />
|
|
<Box>{t('common:textarea_variable_picker_tip')}</Box>
|
|
</HStack>
|
|
);
|
|
};
|
|
|
|
export default VariableTip;
|