feat: added top margin to error message in text field

pull/108/head
Samuel Rowe 3 years ago
parent 7b132a44f0
commit 003082cd76

@ -41,7 +41,7 @@ const TextField: FunctionComponent<ITextFieldProps> = (
{...otherProps}
/>
<div className="text-xs text-red-600">
<div className="text-xs text-red-600 mt-1">
{error && <span className="caption">{error}</span>}
{!error && help}
</div>

Loading…
Cancel
Save