Add check and x icons for validation feedback

Adds icons from the Feather set with the same color as text. Tweaks validation
item spacing to match the design.
This commit is contained in:
J. Ryan Stinnett 2019-04-16 18:49:03 +01:00
parent 87f13cfe55
commit 37e09b5569
4 changed files with 39 additions and 3 deletions

View file

@ -97,7 +97,7 @@ export default function withValidation({ description, rules }) {
}
const feedback = <div className="mx_Validation">
<div>{description}</div>
<div className="mx_Validation_description">{description}</div>
{details}
</div>;