mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-22 19:08:46 +02:00
fix(Field): add types for focusing field (#41)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user