ant-design/components/rate/index.jsx
2016-03-31 14:43:38 +08:00

15 lines
302 B
JavaScript

import React, { PropTypes } from 'react';
import RcRate from 'rc-rate';
export default class Rate extends React.Component {
static propTypes = {
prefixCls: PropTypes.string,
};
static defaultProps = {
prefixCls: 'ant-rate',
};
render() {
return <RcRate {...this.props} />;
}
}