File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed
Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 1- import * as ReactDOM from 'react-dom' ;
2- import * as React from 'react' ;
3- import { Demo } from './Demo.stories' ;
4- import { DirectionX } from './DirectionX.stories' ;
1+ import * as ReactDOM from "react-dom" ;
2+ import * as React from "react" ;
3+ import { Demo } from "./Demo.stories" ;
4+ import { DirectionX } from "./DirectionX.stories" ;
5+ // import { UseScrollWatch } from "./UseScrollWatch.stories";
6+ import { Body } from "./Body.stories" ;
57export default function App ( ) {
68 return (
79 < div className = "App" >
8- < h1 > react-smooth-scroll-hook </ h1 >
9- < h2 > Demo.tsx</ h2 >
10+ < h1 > useSmoothScroll </ h1 >
11+ < h2 > Demo.stories. tsx</ h2 >
1012 < Demo />
11- < h2 > DirectionX .tsx</ h2 >
13+ < h2 > Direction.stories .tsx</ h2 >
1214 < DirectionX />
15+ < h2 > Body.stories.tsx</ h2 >
16+ < Body />
1317 </ div >
1418 ) ;
1519}
1620
17- ReactDOM . render ( < App /> , document . getElementById ( ' root' ) ) ;
21+ ReactDOM . render ( < App /> , document . getElementById ( " root" ) ) ;
Original file line number Diff line number Diff line change 11{
2- "name" : " example " ,
2+ "name" : " usesmoothscroll " ,
33 "version" : " 1.0.0" ,
44 "main" : " index.js" ,
55 "license" : " MIT" ,
1111 "react" : " 16.13.1" ,
1212 "react-app-polyfill" : " ^1.0.0" ,
1313 "react-dom" : " 16.13.1" ,
14- "react-smooth-scroll-hook" : " 1.3.0"
15- },
16- "alias" : {
17- "react" : " ../node_modules/react" ,
18- "react-dom" : " ../node_modules/react-dom"
14+ "react-smooth-scroll-hook" : " 1.3.3"
1915 },
2016 "devDependencies" : {
2117 "@types/react" : " ^16.9.11" ,
2420 "@babel/core" : " 7.2.0" ,
2521 "parcel-bundler" : " ^1.6.1" ,
2622 "@types/node" : " 14.6.0"
27- }
28- }
23+ },
24+ "keywords" : [],
25+ "description" : " "
26+ }
You can’t perform that action at this time.
0 commit comments