Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
import React from 'react';
import {Popover as MantinePopover, PopoverProps as MantinePopoverProps} from "@mantine/core";
interface PopoverProps extends MantinePopoverProps {
children: React.ReactNode;
title: React.ReactNode;
}
export const Popover = ({children, title, ...props}: PopoverProps) => {
return (
<MantinePopover {...props}>
<MantinePopover.Target>
<div style={{cursor: "pointer", display: "inline-flex"}}>
{children}
</div>
</MantinePopover.Target>
<MantinePopover.Dropdown>
{title}
</MantinePopover.Dropdown>
</MantinePopover>
);
}