mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Changed way of testing
This commit is contained in:
@@ -6,9 +6,9 @@ import { Component } from 'react'
|
||||
import * as ReactDOM from 'react-dom';
|
||||
import { Link, Element, Events, scroller } from 'react-scroll'
|
||||
|
||||
let link = <Link to="test" spy={true} smooth={true}>Dashboard</Link>;
|
||||
let element = <Element name="test" >Test</Element>;
|
||||
let link = <Link to="test" />;
|
||||
let element = <Element name="test" />;
|
||||
|
||||
scroller.scrollTo("test");
|
||||
//scroller.scrollTo("test");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user