mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-21 10:29:00 +02:00
12 lines
384 B
TypeScript
Executable File
12 lines
384 B
TypeScript
Executable File
import { FC, SVGAttributes } from 'react';
|
|
|
|
import { findModuleChild } from '../webpack';
|
|
|
|
export const SteamSpinner = findModuleChild((m) => {
|
|
if (typeof m !== 'object') return undefined;
|
|
for (let prop in m) {
|
|
if (m[prop]?.toString()?.includes('Steam Spinner') && m[prop].toString().includes('PreloadThrobber'))
|
|
return m[prop];
|
|
}
|
|
}) as FC<SVGAttributes<SVGElement>>;
|