mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 17:59:57 +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} />;
|
|
}
|
|
}
|