button text alignment fixed

This commit is contained in:
vicky_primathon.in 2020-05-29 17:03:08 +05:30
parent c956105365
commit 0236dcd251

View File

@ -52,7 +52,9 @@ const buttonStyles = css<{
display: flex;
width: 100%;
justify-content: ${props =>
props.iconAlignment === Directions.RIGHT
props.skin === undefined
? "center"
: props.iconAlignment === Directions.RIGHT
? "space-between"
: "flex-start"};
}