mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
277 B
TypeScript
10 lines
277 B
TypeScript
/// <reference path="../react/react.d.ts" />
|
|
/// <reference path="./react-scroll.d.ts" />
|
|
|
|
import * as React from 'react';
|
|
import { Link, Element, scroller } from 'react-scroll';
|
|
|
|
let link = <Link to="test" />;
|
|
let element = <Element name="test" />;
|
|
|
|
scroller.scrollTo("test"); |