ant-design/components/pagination/index.jsx

19 lines
399 B
React
Raw Normal View History

2015-07-13 01:04:05 +08:00
'use strict';
let React = require('react');
2015-07-15 15:31:36 +08:00
let Pagination = require('rc-pagination');
let Select = require('rc-select');
2015-07-13 01:04:05 +08:00
2015-07-14 12:09:29 +08:00
let prefixCls = 'ant-pagination';
2015-07-13 01:04:05 +08:00
class AntPagination extends React.Component {
render() {
2015-07-15 17:32:32 +08:00
return <Pagination selectComponentClass={Select}
selectPrefixCls="ant-select"
prefixCls={prefixCls}
{...this.props} />;
2015-07-13 01:04:05 +08:00
}
}
module.exports = AntPagination;