import styled from '@emotion/styled'; import { shouldNotForwardProps } from '../../utils/should-not-forward-props'; export const TooltipBox = styled('div', shouldNotForwardProps(['limitWidth']))<{ limitWidth: boolean; }>` background: ${({ theme }) => theme.colors.black900}; border: 1px solid ${({ theme }) => theme.colors.black500}; border-radius: 8px; width: max-content; ${({ limitWidth }) => (limitWidth ? 'max-width: 240px' : '')}; padding: 12px; `; export const TriggerBox = styled('span')` display: inline-flex; `;