Skip to content

Commit

Permalink
fix(TextInput): wrapper class contains "undefined" in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Nov 25, 2023
1 parent 59f563c commit 2e8c6f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const getTextInputClasses = ({
}: getTextInputClassesProps) => {
const wrapper = raw
? className
: `${TEXT_INPUT_WRAPPER_CLASSNAME} w-full ${className}`;
: clsx(`${TEXT_INPUT_WRAPPER_CLASSNAME} w-full`, className);

const input = raw
? inputClassName
Expand Down

0 comments on commit 2e8c6f1

Please sign in to comment.