Skip to content

Commit fd0ed2b

Browse files
author
Hector Arce De Las Heras
committed
Add new properties to TextArea component
This commit introduces new properties to the `TextArea` component. These include `leftIcon`, `leftIconContainer`, `clearIcon`, `clearIconContainer`, and `paddingBetweenIconAndText`. These properties provide more flexibility in customizing the appearance and behavior of the `TextArea` component, particularly in terms of icon usage and spacing.
1 parent 5a27385 commit fd0ed2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/textArea/types/textAreaTheme.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ export type TextAreaPropsThemeType = {
1212
required?: TypographyTypes;
1313
textArea?: CommonStyleType & TypographyTypes & { resize?: string };
1414
placeholder?: TypographyTypes;
15+
leftIcon?: IconTypes;
16+
leftIconContainer?: CommonStyleType;
17+
clearIcon?: IconTypes;
18+
clearIconContainer?: CommonStyleType;
19+
paddingBetweenIconAndText?: string;
1520
bottomContainer?: CommonStyleType;
1621
helpMessageErrorContainer?: CommonStyleType;
1722
helpMessage?: TypographyTypes;

0 commit comments

Comments
 (0)