mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
9 lines
219 B
TypeScript
9 lines
219 B
TypeScript
/// <reference types="react" />
|
|
|
|
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"); |