fix(Field): add override for onClick type (#43)

This commit is contained in:
Lukas Senionis
2022-10-27 00:42:04 +03:00
committed by GitHub
parent 91c386a6cc
commit fe75dfb5f4

View File

@@ -20,7 +20,7 @@ export interface FieldProps extends HTMLAttributes<HTMLDivElement>, FooterLegend
verticalAlignment?: 'center' | 'none'; // Alligns inline label with children
focusable?: boolean; // Allows to get focus without any focusable children or on* callbacks
onActivate?: (e: CustomEvent | MouseEvent) => void;
onClick?: (e: CustomEvent | MouseEvent) => void;
override onClick?: (e: CustomEvent | MouseEvent) => void;
}
export const Field = findModuleChild((m) => {