import styled from '@emotion/styled'; import Tooltip from 'sentry/components/tooltip'; import {IconQuestion} from 'sentry/icons'; import type {Color, IconSize} from 'sentry/utils/theme'; type ContainerProps = { size: IconSize | string; className?: string; }; const QuestionIconContainer = styled('span')` display: inline-block; height: ${p => p.theme.iconSizes[p.size] ?? p.size}; line-height: ${p => p.theme.iconSizes[p.size] ?? p.size}; & svg { transition: 120ms opacity; color: ${p => p.theme.subText}; opacity: 0.6; &:hover { opacity: 1; } } `; type QuestionProps = { size: string; title: React.ReactNode; className?: string; color?: Color; } & Pick, 'position'> & Partial< Pick< React.ComponentProps, 'containerDisplayMode' | 'isHoverable' | 'overlayStyle' > >; function QuestionTooltip({ title, size, color, className, ...tooltipProps }: QuestionProps) { return ( ); } export default QuestionTooltip;