forked from chanthasuon/lib-invoice-print
18 lines
468 B
TypeScript
18 lines
468 B
TypeScript
|
/**
|
||
|
* Default CSS definition for typescript,
|
||
|
* will be overridden with file-specific definitions by rollup
|
||
|
*/
|
||
|
declare module '*.css' {
|
||
|
const content: { [className: string]: string };
|
||
|
export default content;
|
||
|
}
|
||
|
|
||
|
interface SvgrComponent extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}
|
||
|
|
||
|
declare module '*.svg' {
|
||
|
const svgUrl: string;
|
||
|
const svgComponent: SvgrComponent;
|
||
|
export default svgUrl;
|
||
|
export { svgComponent as ReactComponent }
|
||
|
}
|