mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Changed the tests
This commit is contained in:
@@ -7,9 +7,11 @@ import { Link, Element, Events, scroller } from 'react-scroll'
|
||||
class LinkTest extends Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <div>
|
||||
return (
|
||||
<div>
|
||||
<Link to="test" spy={true} smooth={true}>Dashboard</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -17,9 +19,11 @@ class LinkTest extends Component<any, any> {
|
||||
class ElementTest extends Component<any, any> {
|
||||
|
||||
render() {
|
||||
return <div>
|
||||
return (
|
||||
<div>
|
||||
<Element name="test" >Test</Element>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user