From 3503e2e46bccb5a5ee138af61c013f71db5eb518 Mon Sep 17 00:00:00 2001 From: John Kapantzakis Date: Thu, 5 Dec 2024 12:09:21 +0200 Subject: [PATCH] Add input placeholder props (#543) --- src/components/input/styled.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/input/styled.js b/src/components/input/styled.js index 9b23c7b6..d474a475 100644 --- a/src/components/input/styled.js +++ b/src/components/input/styled.js @@ -38,6 +38,7 @@ export const Input = styled(Flex).attrs(props => ({ color: ${getColor("placeholder")}; opacity: ${({ disabled }) => (disabled ? 0.4 : 1)}; font-weight: normal; + ${({ placeholderProps }) => placeholderProps || null} } ${disabledCursorSupport}; `