From 9294580c4d1cc747292bf1472512802b8722dff3 Mon Sep 17 00:00:00 2001 From: Anurag Hazra Date: Thu, 14 Nov 2024 17:49:11 +0530 Subject: [PATCH] feat: expose textAlign prop types in text input (#2415) * feat: add textAlign prop types in text input * Create four-rivers-yell.md --- .changeset/four-rivers-yell.md | 5 +++++ packages/blade/src/components/Input/TextInput/TextInput.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/four-rivers-yell.md diff --git a/.changeset/four-rivers-yell.md b/.changeset/four-rivers-yell.md new file mode 100644 index 00000000000..29fcdd3e873 --- /dev/null +++ b/.changeset/four-rivers-yell.md @@ -0,0 +1,5 @@ +--- +"@razorpay/blade": patch +--- + +feat: expose textAlign prop types in text input diff --git a/packages/blade/src/components/Input/TextInput/TextInput.tsx b/packages/blade/src/components/Input/TextInput/TextInput.tsx index 5293cd75423..0aedcc6edd9 100644 --- a/packages/blade/src/components/Input/TextInput/TextInput.tsx +++ b/packages/blade/src/components/Input/TextInput/TextInput.tsx @@ -57,6 +57,7 @@ type TextInputCommonProps = Pick< | 'leadingIcon' | 'trailingButton' | 'trailingIcon' + | 'textAlign' > & { /** * Decides whether to render a clear icon button