Skip to content

Commit 2d3f18f

Browse files
committed
fix README, close #259
1 parent 1297f31 commit 2d3f18f

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ npm start
3030

3131
## Example
3232

33-
http://localhost:3000/examples/
33+
http://localhost:9001
3434

35-
online example: http://react-component.github.io/pagination/examples/
36-
37-
## Feature
38-
39-
- support ie9,ie9+,chrome,firefox,safari
35+
online example: http://react-component.github.io/pagination/
4036

4137
## Install
4238

@@ -45,9 +41,9 @@ online example: http://react-component.github.io/pagination/examples/
4541
## Usage
4642

4743
```js
48-
var Pagination = require('rc-pagination');
49-
var React = require('react');
50-
React.render(<Pagination />, container);
44+
import Pagination from 'rc-pagination';
45+
46+
ReactDOM.render(<Pagination />, container);
5147
```
5248

5349
## API

0 commit comments

Comments
 (0)