More styling

This commit is contained in:
Robert Long
2021-08-20 16:23:12 -07:00
parent 5851d738f8
commit 43c0ed193e
13 changed files with 423 additions and 201 deletions

View File

@@ -25,7 +25,7 @@ export const InputField = forwardRef(
return (
<Field>
<input id={id} {...rest} ref={ref} />
<label for={id}>{label}</label>
<label htmlFor={id}>{label}</label>
</Field>
);
}
@@ -42,3 +42,7 @@ export const Button = forwardRef(({ className, children, ...rest }, ref) => {
</button>
);
});
export function ErrorMessage({ children }) {
return <p className={styles.errorMessage}>{children}</p>;
}