import * as React from 'react'; import styled from '@emotion/styled'; import Tooltip from 'app/components/tooltip'; import {IconQuestion} from 'app/icons'; import {IconSize} from 'app/utils/theme'; type ContainerProps = { className?: string; size: IconSize | 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 color; color: ${p => p.theme.gray200}; &:hover { color: ${p => p.theme.gray300}; } } `; type QuestionProps = { className?: string; title: React.ReactNode; size: string; } & Pick, 'position'> & Partial< Pick< React.ComponentProps, 'containerDisplayMode' | 'isHoverable' | 'popperStyle' > >; function QuestionTooltip({title, size, className, ...tooltipProps}: QuestionProps) { return ( ); } export default QuestionTooltip;