Skip to content

Commit bc5ecca

Browse files
committed
fix startAt, add eslint
1 parent 7e19ac7 commit bc5ecca

File tree

6 files changed

+2273
-107
lines changed

6 files changed

+2273
-107
lines changed

demo/src/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ const Demo = () => {
1212
<div>
1313
<h1>React Smart Scroll Demo</h1>
1414
<div className="click-status">{clicked}</div>
15-
<ReactSmartScroll className="demo-smart-scroll" data={data} onClick={onClick} row={TestRow} startAt={5}/>
15+
<ReactSmartScroll
16+
className="demo-smart-scroll"
17+
data={data}
18+
onClick={onClick}
19+
row={TestRow}
20+
startAt={16}
21+
/>
1622
</div>
1723
);
1824
};
1925

20-
render(<Demo/>, document.querySelector('#demo'));
26+
render(<Demo />, document.querySelector('#demo'));

0 commit comments

Comments
 (0)