forked from ddrilling/asb_cloud_front
31 lines
533 B
TypeScript
31 lines
533 B
TypeScript
|
declare module '*.gif' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.jpg' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.jpeg' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.png' {
|
||
|
const src: string;
|
||
|
export default src;
|
||
|
}
|
||
|
|
||
|
declare module '*.svg' {
|
||
|
import * as React from 'react'
|
||
|
|
||
|
export const ReactComponent: React.FunctionComponent<
|
||
|
React.SVGProps<SVGSVGElement> & { title?: string }
|
||
|
>
|
||
|
|
||
|
const src: string
|
||
|
export default src
|
||
|
}
|