Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
${(props): FlattenSimpleInterpolation | false =>
props.size === 'extraLarge' &&
css`
width: 80px;
height: 80px;
.ant-avatar-string {
line-height: 80px;
${macro.xlAvatar};
}
${props.icon &&
css`
&.ant-avatar-icon {
${macro.xlAvatarIcon};
${macro.flexCentered}
}
`}
`}
}