docs: update demo

This commit is contained in:
Benjy Cui 2016-11-11 16:28:10 +08:00
parent 7879421ec2
commit 88d428bcc4
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,9 @@ import { BackTop } from 'antd';
ReactDOM.render( ReactDOM.render(
<div> <div>
<BackTop /> <BackTop />
Scroll down to see the bottom right <strong>gray</strong> button. Scroll down to see the bottom-right
<strong style={{ color: 'rgba(64, 64, 64, 0.6)' }}> gray </strong>
button.
</div>, </div>,
mountNode mountNode
); );

View File

@ -22,7 +22,9 @@ ReactDOM.render(
<BackTop> <BackTop>
<div className="ant-back-top-inner">UP</div> <div className="ant-back-top-inner">UP</div>
</BackTop> </BackTop>
Scroll down to see the bottom right <strong>blue</strong> button. Scroll down to see the bottom-right
<strong style={{ color: '#57c5f7' }}> blue </strong>
button.
</div>, </div>,
mountNode mountNode
); );