mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-20 10:00:08 +02:00
14 lines
390 B
TypeScript
Executable File
14 lines
390 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('src')
|
|
)
|
|
return m[prop];
|
|
}
|
|
}) as FC<SVGAttributes<SVGElement>>;
|