mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 04:00:13 +08:00
16 lines
381 B
JavaScript
16 lines
381 B
JavaScript
'use strict';
|
|
|
|
let React = require('react');
|
|
let Pagination = require('rc-pagination');
|
|
let Select = require('rc-select');
|
|
|
|
let prefixCls = 'ant-pagination';
|
|
|
|
class AntPagination extends React.Component {
|
|
render() {
|
|
return <Pagination selectComponentClass={Select} selectPrefixCls="ant-select" prefixCls={prefixCls} {...this.props} />;
|
|
}
|
|
}
|
|
|
|
module.exports = AntPagination;
|