Skip to content

Commit

Permalink
Fixes the hint rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Quiñones committed Apr 6, 2021
1 parent 92889ef commit 1ff2f3c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/core-react/src/components/TextField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ export default function TextField({
</div>
</div>
</div>
</div>
<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
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>
</div>
</div>
);
Expand Down

0 comments on commit 1ff2f3c

Please sign in to comment.