mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
664 B
TypeScript
19 lines
664 B
TypeScript
// React CSS Transition Replace Test
|
|
// ================================================================================
|
|
///<reference path="react-css-transition-replace.d.ts"/>
|
|
///<reference path="../react/react.d.ts"/>
|
|
///<reference path="../react/react-dom.d.ts"/>
|
|
|
|
// Imports
|
|
// --------------------------------------------------------------------------------
|
|
import * as React from "react"
|
|
import { render } from 'react-dom';
|
|
import * as CSSTransitionReplace from "react-css-transition-replace"
|
|
|
|
render(
|
|
<CSSTransitionReplace overflowHidden transitionName="test">
|
|
<div>Test</div>
|
|
</CSSTransitionReplace>,
|
|
document.getElementById("main")
|
|
)
|