mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* adds definition for react-svg * changed typescript version to 2.6 * make it work with require * fixed lint error
15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
import * as React from 'react';
|
|
import * as ReactDOM from 'react-dom';
|
|
import ReactSVG = require("react-svg");
|
|
|
|
const complete = <ReactSVG
|
|
path={"atomic.svg"}
|
|
callback={svg => {}}
|
|
className="class-name"
|
|
wrapperClassName="wrapper-class-name"
|
|
evalScripts="once"
|
|
style={{}}
|
|
/>;
|
|
|
|
const minimal = <ReactSVG path={"test.svg"}/>;
|