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 {Popover} from "../Popover";
import {IconInfoCircle} from "@tabler/icons-react";
import classes from "./InputLabelWithHelp.module.scss";
interface InputLabelWithHelpProps {
label: string;
helpText: React.ReactNode;
}
export const InputLabelWithHelp = ({label, helpText}: InputLabelWithHelpProps) => {
return (
<div className={classes.labelWrapper}>
<label>{label}</label>
<div className={classes.helpIcon}>
<Popover title={helpText}>
<IconInfoCircle size={14}/>
</Popover>
</div>
</div>
);
}