mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-27 16:54:28 +00:00
* 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
16 lines
377 B
TypeScript
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"}/>;
|