mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-25 04:18:48 +02:00
15 lines
461 B
TypeScript
15 lines
461 B
TypeScript
import { FC, ReactNode } from 'react';
|
|
|
|
import { Export, findModuleExport } from '../webpack';
|
|
|
|
export interface ControlsListProps {
|
|
alignItems?: 'left' | 'right' | 'center';
|
|
spacing?: 'standard' | 'extra';
|
|
children?: ReactNode;
|
|
}
|
|
|
|
export const ControlsList: FC<ControlsListProps> = findModuleExport(
|
|
(e: Export) =>
|
|
e?.toString && e.toString().includes('().ControlsListChild') && e.toString().includes('().ControlsListOuterPanel'),
|
|
);
|