ant-design/components/pagination/index.jsx
ustccjw b34269a6b1 use es6 module import/export
convert var to const

fix bug

fix bug

fix for jshint

fix import
2015-07-24 11:22:49 +08:00

15 lines
359 B
JavaScript

import React from 'react';
import Pagination from 'rc-pagination';
import Select from 'rc-select';
const prefixCls = 'ant-pagination';
export default class AntPagination extends React.Component {
render() {
return <Pagination selectComponentClass={Select}
selectPrefixCls="ant-select"
prefixCls={prefixCls}
{...this.props} />;
}
}