mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 07:10:29 +08:00
### What problem does this PR solve? Fix: Lint error. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
import { LucideCircleQuestionMark } from 'lucide-react';
|
|
|
|
import { Tooltip, TooltipContent, TooltipTrigger } from './ui/tooltip';
|
|
|
|
export default function WhatIsThis({ children }: React.PropsWithChildren) {
|
|
return (
|
|
<Tooltip>
|
|
<TooltipTrigger>
|
|
<LucideCircleQuestionMark className="size-[1em]" />
|
|
</TooltipTrigger>
|
|
|
|
<TooltipContent>{children}</TooltipContent>
|
|
</Tooltip>
|
|
);
|
|
}
|