File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
packages/core-react/src/components/TextField Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -110,18 +110,18 @@ export default function TextField({
110110 ) }
111111 </ div >
112112 </ div >
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 >
113123 </ div >
114124 </ div >
115- < div
116- className = { clsx (
117- 'ray-form-item__hint' ,
118- { 'ray-form-item__hint' : hint } ,
119- { 'ray-form-item__hint--success' : hintSuccess } ,
120- { 'ray-form-item__hint--error' : hintError }
121- ) }
122- >
123- { hint || ( hintSuccess || hintError ) }
124- </ div >
125125 </ div >
126126 ) ;
127127}
You can’t perform that action at this time.
0 commit comments