updated DialogButton props and added nav pref enum

This commit is contained in:
Tormak
2022-09-22 17:33:08 -05:00
parent b39ba26b28
commit 546a4da043
2 changed files with 10 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
import { CSSProperties, FC, RefAttributes } from 'react';
import { CommonUIModule } from '../webpack';
import { FooterLegendProps } from './FooterLegend';
export interface DialogButtonProps extends RefAttributes<HTMLDivElement> {
export interface DialogButtonProps extends RefAttributes<HTMLDivElement>, FooterLegendProps {
label?: string;
style?: CSSProperties;
className?: string;

View File

@@ -30,6 +30,14 @@ export enum GamepadButton {
STEAM_QUICK_MENU
}
export enum NavEntryPositionPreferences {
FIRST,
LAST,
MAINTAIN_X,
MAINTAIN_Y,
PREFERRED_CHILD
}
export interface GamepadEventDetail {
button: number;
is_repeat?: boolean;