mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-22 19:08:46 +02:00
9 lines
383 B
TypeScript
Executable File
9 lines
383 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>>; |