ant-design/components/rate/index.tsx
2016-06-22 13:19:48 +08:00

15 lines
302 B
TypeScript

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} />;
}
}