mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-27 13:52:49 +00:00
Some checks failed
Deploy image by kubeconfig / build-fastgpt-docs-images (push) Has been cancelled
Deploy image to vercel / deploy-production (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Deploy image by kubeconfig / update-docs-image (push) Has been cancelled
18 lines
410 B
TypeScript
18 lines
410 B
TypeScript
import React from 'react';
|
|
import MyTooltip from '.';
|
|
import { IconProps, QuestionOutlineIcon } from '@chakra-ui/icons';
|
|
|
|
type Props = IconProps & {
|
|
label?: string | React.ReactNode;
|
|
};
|
|
|
|
const QuestionTip = ({ label, maxW, ...props }: Props) => {
|
|
return (
|
|
<MyTooltip label={label} maxW={maxW}>
|
|
<QuestionOutlineIcon w={'0.9rem'} {...props} />
|
|
</MyTooltip>
|
|
);
|
|
};
|
|
|
|
export default QuestionTip;
|