mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-21 18:38:47 +02:00
13 lines
471 B
TypeScript
Executable File
13 lines
471 B
TypeScript
Executable File
import { FC, ReactNode, SVGAttributes } from 'react';
|
|
|
|
import { Export, findModuleExport } from '../webpack';
|
|
|
|
interface SteamSpinnerProps {
|
|
children?: ReactNode;
|
|
background?: "transparent"; // defaults to black seemingly, but only "transparent" is checked against
|
|
}
|
|
|
|
export const SteamSpinner = findModuleExport(
|
|
(e: Export) => e?.toString?.()?.includes('Steam Spinner') && e?.toString?.()?.includes('src'),
|
|
) as FC<SVGAttributes<SVGElement> & SteamSpinnerProps>;
|