mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-22 03:45:52 +00:00
Concat plugin to app (#1799)
This commit is contained in:
@@ -4,7 +4,8 @@ import {
|
||||
PopoverTrigger,
|
||||
PopoverContent,
|
||||
useDisclosure,
|
||||
PlacementWithLogical
|
||||
PlacementWithLogical,
|
||||
PopoverArrow
|
||||
} from '@chakra-ui/react';
|
||||
|
||||
const MyPopover = ({
|
||||
@@ -40,7 +41,10 @@ const MyPopover = ({
|
||||
lazyBehavior="keepMounted"
|
||||
>
|
||||
<PopoverTrigger>{Trigger}</PopoverTrigger>
|
||||
<PopoverContent p={4}>{children({ onClose })}</PopoverContent>
|
||||
<PopoverContent p={4}>
|
||||
<PopoverArrow />
|
||||
{children({ onClose })}
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user