Skip to content

Commit d2476c9

Browse files
author
Peter Hellstrand
committed
fix(ffe-datepicker-react): event type onBlur
1 parent 55bc284 commit d2476c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ffe-datepicker-react/src/datepicker/DatepickerComp.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface DatepickerCompProps {
2525
'aria-describedby'?: React.ComponentProps<'input'>['aria-describedby'];
2626
ariaDescribedby?: React.ComponentProps<'input'>['aria-describedby'];
2727
/** Triggered when focus leaves one of the fields (dd, mm, yyyy), and the next focused element is not one of these fields.*/
28-
onBlur?: (evt: React.FocusEvent) => void;
28+
onBlur?: (evt: React.FocusEvent<HTMLElement>) => void;
2929
calendarAbove?: boolean;
3030
id?: string;
3131
maxDate?: string | null;

0 commit comments

Comments
 (0)