diff --git a/packages/design-system/src/components/TextField/TextField.tsx b/packages/design-system/src/components/TextField/TextField.tsx index e205348b..fc5be331 100644 --- a/packages/design-system/src/components/TextField/TextField.tsx +++ b/packages/design-system/src/components/TextField/TextField.tsx @@ -18,6 +18,7 @@ const SingleTextField = (props: SingleTextFieldProps) => { rightIconSx, onLeftIconClick, onRightIconClick, + InputProps, ...restProps } = props; @@ -28,20 +29,23 @@ const SingleTextField = (props: SingleTextFieldProps) => { hasLeftIcon={Boolean(leftIcon)} hasRightIcon={Boolean(rightIcon)} InputProps={{ - startAdornment: leftIcon && ( - - ), - endAdornment: rightIcon && ( - - ), + ...{ + startAdornment: leftIcon && ( + + ), + endAdornment: rightIcon && ( + + ), + }, + ...InputProps, }} /> );