bastodon/app/javascript/types/image.d.ts
Eugen Rochko 134de736dc
Change icons in web UI (#27385)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-10-24 17:45:08 +00:00

38 lines
676 B
TypeScript

/* eslint-disable import/no-default-export */
declare module '*.avif' {
const path: string;
export default path;
}
declare module '*.gif' {
const path: string;
export default path;
}
declare module '*.jpg' {
const path: string;
export default path;
}
declare module '*.png' {
const path: string;
export default path;
}
declare module '*.svg' {
import type React from 'react';
interface SVGPropsWithTitle extends React.SVGProps<SVGSVGElement> {
title?: string;
}
export const ReactComponent: React.FC<SVGPropsWithTitle>;
const path: string;
export default path;
}
declare module '*.webp' {
const path: string;
export default path;
}