Skip to content

Commit

Permalink
4001 - Pass custom classname to InputText disabled div
Browse files Browse the repository at this point in the history
  • Loading branch information
yaguzmang committed Dec 24, 2024
1 parent afd60b8 commit 318faf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/Inputs/InputText/InputText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const InputText = forwardRef<HTMLInputElement, InputTextProps>((props, outerRef)
const _onChange = useOnChange({ inputRef, onChange, value })

if (disabled) {
return <div className="input-text disabled">{value}</div>
return <div className={classNames('input-text disabled', className)}>{value}</div>
}

return (
Expand Down

0 comments on commit 318faf3

Please sign in to comment.