Files
decky-frontend-lib/src/deck-components/Spinner.tsx
2022-06-08 17:54:20 -04:00

8 lines
320 B
TypeScript
Executable File

import { FC, SVGAttributes } from 'react';
import { IconsModule } from '../webpack';
// TODO type this and other icons?
export const Spinner = Object.values(IconsModule).find((mod: any) =>
mod?.toString && /Spinner\)}\),.\.createElement\(\"path\",{d:\"M18 /.test(mod.toString())
) as FC<SVGAttributes<SVGElement>>;