Files
DefinitelyTyped/types/react-svg/react-svg-tests.tsx
ChrisGarber-Medlever f2236bdec5 ReactSVG - Update to 3.0 (#25493)
* test changes for v3.0

check onClick for spreading the div props support

* Version ReactSVG V3.0 typings
-added myself to contribution list
-added intersection typing with react div typing

* Just kidding these are the real V3 typings

* more changes --> more test changes
2018-05-03 08:54:24 -07:00

16 lines
377 B
TypeScript

import * as React from 'react';
import * as ReactDOM from 'react-dom';
import ReactSVG = require("react-svg");
const complete = <ReactSVG
path={"atomic.svg"}
onInjected={svg => {}}
className="wrapper-class-name"
svgClassName="svg-class-name"
onClick={() => {}}
evalScripts="once"
svgStyle={{}}
/>;
const minimal = <ReactSVG path={"test.svg"}/>;