mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-24 22:03:54 +00:00
4.8.1 test-fix (#1561)
This commit is contained in:
@@ -3,12 +3,12 @@ import MyTooltip from '.';
|
||||
import { IconProps, QuestionOutlineIcon } from '@chakra-ui/icons';
|
||||
|
||||
type Props = IconProps & {
|
||||
label?: string;
|
||||
label?: string | React.ReactNode;
|
||||
};
|
||||
|
||||
const QuestionTip = ({ label, ...props }: Props) => {
|
||||
const QuestionTip = ({ label, maxW, ...props }: Props) => {
|
||||
return (
|
||||
<MyTooltip label={label}>
|
||||
<MyTooltip label={label} maxW={maxW}>
|
||||
<QuestionOutlineIcon {...props} />
|
||||
</MyTooltip>
|
||||
);
|
||||
|
Reference in New Issue
Block a user