mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Set popover defaults
This commit is contained in:
@@ -22,7 +22,11 @@ const StyledDropdown = styled(MantinePopover.Dropdown)<PopoverDropdownProps>`
|
||||
`;
|
||||
|
||||
export const Popover = ({ children, ...props }: PopoverProps) => {
|
||||
return <StyledPopover {...props}>{children}</StyledPopover>;
|
||||
return (
|
||||
<StyledPopover withArrow withinPortal {...props}>
|
||||
{children}
|
||||
</StyledPopover>
|
||||
);
|
||||
};
|
||||
|
||||
Popover.Target = MantinePopover.Target;
|
||||
|
||||
Reference in New Issue
Block a user