import { LuLightbulb } from 'react-icons/lu'; import TextURL from '@/components/ui/TextURL'; import Tooltip, { PlacesType } from '@/components/ui/Tooltip'; import { useConceptOptions } from '@/context/OptionsContext'; import { HelpTopic } from '@/models/miscellaneous'; import InfoTopic from '../info/InfoTopic'; import { CProps } from '../props'; interface BadgeHelpProps extends CProps.Styling { topic: HelpTopic; offset?: number; place?: PlacesType; } function BadgeHelp({ topic, ...restProps }: BadgeHelpProps) { const { showHelp } = useConceptOptions(); if (!showHelp) { return null; } return (
event.stopPropagation()}>
); } export default BadgeHelp;