mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +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) => {
|
export const Popover = ({ children, ...props }: PopoverProps) => {
|
||||||
return <StyledPopover {...props}>{children}</StyledPopover>;
|
return (
|
||||||
|
<StyledPopover withArrow withinPortal {...props}>
|
||||||
|
{children}
|
||||||
|
</StyledPopover>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
Popover.Target = MantinePopover.Target;
|
Popover.Target = MantinePopover.Target;
|
||||||
|
|||||||
Reference in New Issue
Block a user