We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92889ef commit 0098e9fCopy full SHA for 0098e9f
packages/core-react/src/components/TextField/index.js
@@ -110,18 +110,18 @@ export default function TextField({
110
)}
111
</div>
112
113
+ <div
114
+ className={clsx(
115
+ 'ray-form-item__hint',
116
+ { 'ray-form-item__hint': hint },
117
+ { 'ray-form-item__hint--success': hintSuccess },
118
+ { 'ray-form-item__hint--error': hintError }
119
+ )}
120
+ >
121
+ {hint || (hintSuccess || hintError)}
122
+ </div>
123
124
- <div
- className={clsx(
- 'ray-form-item__hint',
- { 'ray-form-item__hint': hint },
- { 'ray-form-item__hint--success': hintSuccess },
- { 'ray-form-item__hint--error': hintError }
- )}
- >
- {hint || (hintSuccess || hintError)}
- </div>
125
126
);
127
}
0 commit comments