import React from 'react'; import { Badge, BadgeVariant, Icon, css, cx, spacing, focusRing, } from '@mongodb-js/compass-components'; const nonGenuineMarkerContainer = css({ padding: `0 ${spacing[3]}px ${spacing[2]}px`, }); const nonGenuineMarkerButton = css({ background: 'inherit', padding: 0, margin: 0, border: 'none', cursor: 'pointer', }); export default function NonGenuineMarker({ isGenuine, showNonGenuineModal, }: { isGenuine?: boolean; showNonGenuineModal: () => void; }) { // isGenuine === undefined means we haven't loaded the info yet if (isGenuine !== false) { return null; } return (