diff --git a/docs/examples/.eslintrc b/docs/examples/.eslintrc
index 358c61473e..6f2fa1bdf5 100644
--- a/docs/examples/.eslintrc
+++ b/docs/examples/.eslintrc
@@ -39,6 +39,7 @@
"PageHeader",
"PageItem",
"Pager",
+ "Pagination",
"Panel",
"PanelGroup",
"Popover",
diff --git a/docs/examples/PaginationAdvanced.js b/docs/examples/PaginationAdvanced.js
new file mode 100644
index 0000000000..c2a71a21a5
--- /dev/null
+++ b/docs/examples/PaginationAdvanced.js
@@ -0,0 +1,30 @@
+const PaginationAdvanced = React.createClass({
+ getInitialState() {
+ return {
+ activePage: 1
+ };
+ },
+
+ handleSelect(event, selectedEvent) {
+ this.setState({
+ activePage: selectedEvent.eventKey
+ });
+ },
+
+ render() {
+ return (
+
Provide pagination links for your site or app with the multi-page pagination component. Set items
to the number of pages. activePage
prop dictates which page is active
More options such as first
, last
, previous
, next
and ellipsis
.