UNPKG

@chayns-components/core

Version:

A set of beautiful React components for developing your own applications with chayns.

29 lines (25 loc) 656 B
import styled, { css } from 'styled-components'; export const StyledTooltip = styled.div``; export const StyledTooltipChildren = styled.div` display: flex; ${({ $shouldUseChildrenWidth }) => $shouldUseChildrenWidth && css` width: fit-content; `} ${({ $shouldUseFullWidth }) => $shouldUseFullWidth && css` width: 100%; `}; ${({ $isOnlyText, theme }) => $isOnlyText && css` line-height: normal; border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: ${theme.text}; `} `; //# sourceMappingURL=Tooltip.styles.js.map