mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
15 lines
302 B
JavaScript
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} />;
|
|
}
|
|
}
|