Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const iconStyles = props => css`
align-items: center;
color: ${getIconColor(props)};
display: inline-flex;
justify-content: center;
margin: 0 ${tokens.spaceSm} 0 0;
svg {
vertical-align: -${(stylers.lineHeightValue(-1) - 1) / 2}em;
}
${props.isPending
? css`
animation: ${spinKeyframes} 2s infinite linear;
`
: ""}
${props.isDropdown ? `margin:0 0 0 ${tokens.spaceSm};` : ""}
`;