ant-design/components/rate/index.tsx
2016-07-07 20:25:03 +08:00

16 lines
327 B
TypeScript

import { PropTypes } from 'react';
import * as React 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} />;
}
}