Skip to content

Commit 980a034

Browse files
committed
Rename
1 parent ab886ef commit 980a034

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/playground/src/App.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { css } from 'glamor';
22
import Interval from 'react-interval';
33
import loremIpsum from 'lorem-ipsum';
44
import React from 'react';
5-
import ScrollToBottom from 'component';
5+
import ScrollToEnd from 'component';
66

77
const FADE_IN_ANIMATION = css.keyframes({
88
'0%': { opacity: .2 },
@@ -117,16 +117,16 @@ class App extends React.Component {
117117
</li>
118118
</ul>
119119
<div className="panes">
120-
<ScrollToBottom className={ SCROLL_VIEW_CSS + '' }>
120+
<ScrollToEnd className={ SCROLL_VIEW_CSS + '' }>
121121
<div className={ SCROLL_VIEW_PADDING_CSS + '' }>
122122
{ this.state.paragraphs.map(paragraph => <p key={ paragraph }>{ paragraph }</p>) }
123123
</div>
124-
</ScrollToBottom>
125-
<ScrollToBottom className={ SCROLL_VIEW_CSS + '' } mode="top">
124+
</ScrollToEnd>
125+
<ScrollToEnd className={ SCROLL_VIEW_CSS + '' } mode="top">
126126
<div className={ SCROLL_VIEW_PADDING_CSS + '' }>
127127
{ [...this.state.paragraphs].reverse().map(paragraph => <p key={ paragraph }>{ paragraph }</p>) }
128128
</div>
129-
</ScrollToBottom>
129+
</ScrollToEnd>
130130
</div>
131131
{ this.state.intervalEnabled &&
132132
<Interval

0 commit comments

Comments
 (0)