fix(Field): add types for focusing field (#41)

This commit is contained in:
Lukas Senionis
2022-10-26 15:19:16 +03:00
committed by GitHub
parent 4cdcca0b5a
commit bedb6b8bb9

View File

@@ -18,6 +18,9 @@ export interface FieldProps extends HTMLAttributes<HTMLDivElement>, FooterLegend
highlightOnFocus?: boolean;
indentLevel?: number;
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;
}
export const Field = findModuleChild((m) => {