We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a265f0 commit e43b417Copy full SHA for e43b417
1 file changed
src/components/input/styled.js
@@ -32,6 +32,7 @@ export const Input = styled(Flex).attrs(props => ({
32
${({ hasIconLeft }) => hasIconLeft && "padding-left: 24px;"}
33
${({ hasIconRight, hasIndicator }) =>
34
(hasIconRight || hasIndicator) && `padding-right: ${hasIconRight && hasIndicator ? 48 : 24}px;`}
35
+ ${({ textAlign }) => (textAlign ? `text-align: ${textAlign};` : "")}
36
37
&::placeholder {
38
font-size: 12px;
0 commit comments