Skip to content

Commit 61a4549

Browse files
committed
update demo file name
1 parent 6b861f4 commit 61a4549

File tree

9 files changed

+28
-28
lines changed

9 files changed

+28
-28
lines changed

docs/demo/basic.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## simple
2+
3+
<code src="../examples/simple.jsx">

docs/demo/controlled.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## default
2+
3+
<code src="../examples/controlled.jsx">

docs/demo/default.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/demo/simple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## simple
1+
## stupid
22

33
<code src="../examples/simple.jsx">

docs/demo/stupid.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/examples/basic.jsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import '../../assets/index.less';
2+
import React from 'react';
3+
import Pagination from 'rc-pagination';
4+
5+
const App = () => (
6+
<>
7+
<Pagination total={25} />
8+
<Pagination total={50} />
9+
<Pagination total={60} />
10+
<Pagination total={70} />
11+
<Pagination total={80} />
12+
<Pagination total={90} />
13+
<Pagination total={100} />
14+
<Pagination total={120} />
15+
<Pagination total={500} />
16+
</>
17+
);
18+
19+
export default App;
File renamed without changes.

docs/examples/simple.jsx

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
import '../../assets/index.less';
21
import React from 'react';
32
import Pagination from 'rc-pagination';
3+
import '../../assets/index.less';
44

5-
const App = () => (
6-
<>
7-
<Pagination total={25} />
8-
<Pagination total={50} />
9-
<Pagination total={60} />
10-
<Pagination total={70} />
11-
<Pagination total={80} />
12-
<Pagination total={90} />
13-
<Pagination total={100} />
14-
<Pagination total={120} />
15-
<Pagination total={500} />
16-
</>
17-
);
18-
19-
export default App;
5+
export default () => <Pagination simple defaultCurrent={1} total={50} />;

docs/examples/stupid.jsx

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)