Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
}
}
return css`
margin: ${margin};
border-radius: ${borderRadius};
padding: ${padding};
max-width: ${maxWidth};
line-height: ${lineHeight};
word-wrap: ${wordWrap};
white-space: ${whiteSpace};
font-size: ${fontSize};
overflow-wrap: ${overflowWrap};
${hasArrow && arrowStyles(getArrowPosition(placement), { size: arrowSize, inset: arrowInset })};
${StyledParagraph} {
margin-top: ${paragraphMarginTop};
}
${StyledTitle} {
display: ${titleDisplay};
}
`;
};