Skip to content

Commit

Permalink
fix(Field): add types for focusing field (SteamDeckHomebrew#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog authored Oct 26, 2022
1 parent 4cdcca0 commit bedb6b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/deck-components/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit bedb6b8

Please sign in to comment.