mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-22 19:08:46 +02:00
Rename some components and update module ids
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -34,5 +34,4 @@ Thumbs.db
|
||||
# Ignore built ts files
|
||||
dist/
|
||||
|
||||
# ignore yarn.lock
|
||||
yarn.lock
|
||||
research/
|
||||
|
||||
@@ -11,9 +11,9 @@ interface ButtonProps {
|
||||
bottomSeparator?: boolean;
|
||||
}
|
||||
|
||||
export const Button: FC<ButtonProps> = ControlsModule.a;
|
||||
export const Button: FC<ButtonProps> = ControlsModule.d;
|
||||
|
||||
interface SwitchProps {
|
||||
interface ToggleProps {
|
||||
label?: string;
|
||||
description?: string;
|
||||
checked: boolean;
|
||||
@@ -22,7 +22,7 @@ interface SwitchProps {
|
||||
onChange?(checked: boolean): void;
|
||||
}
|
||||
|
||||
export const Switch: VFC<SwitchProps> = ControlsModule.j;
|
||||
export const Toggle: VFC<ToggleProps> = ControlsModule.jb;
|
||||
|
||||
interface NotchLabel {
|
||||
notchIndex: number;
|
||||
@@ -43,4 +43,4 @@ interface SliderProps {
|
||||
onChange?(value: number): void;
|
||||
}
|
||||
|
||||
export const Slider: VFC<SliderProps> = ControlsModule.l;
|
||||
export const Slider: VFC<SliderProps> = ControlsModule.eb;
|
||||
|
||||
@@ -2,7 +2,7 @@ import ModuleRaid from 'moduleraid';
|
||||
|
||||
const moduleraid = new ModuleRaid();
|
||||
|
||||
export const ControlsModule = moduleraid.modules['qu8K'].exports;
|
||||
export const ControlsModule = moduleraid.modules['Mgs7'].exports;
|
||||
export const NavigationModule = moduleraid.modules['sUK7'].exports;
|
||||
export const DialogModule = moduleraid.modules['Mgs7'].exports;
|
||||
export const BackdropModule = moduleraid.modules['TtDX'].exports;
|
||||
|
||||
Reference in New Issue
Block a user