Make sure datepicker label is above input

Signed-off-by: Niklas Granander <ngranander@spotify.com>
This commit is contained in:
Niklas Granander
2021-08-03 15:31:50 +02:00
parent 5a4d10c04e
commit 2daf2635a4
@@ -62,6 +62,7 @@ export const DatePickerComponent = ({
}: InputProps & DatePickerProps) => (
<>
<Typography variant="button">{label}</Typography>
<br />
<BootstrapInput
inputProps={{ 'aria-label': label }}
type="date"