Skip to content

Commit cbe6747

Browse files
committed
feat(Progress): add rtl support
1 parent 71d602f commit cbe6747

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/progress/view/progress.jsx

+3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ export default class Progress extends Component {
3737
/**
3838
* 文本渲染函数
3939
* @param {Number} percent 当前的进度信息
40+
* @param {Object} option 额外的参数
41+
* @property {Boolean} option.rtl 是否在rtl 模式下渲染
4042
* @return {ReactNode} 返回文本节点
4143
*/
4244
textRender: PropTypes.func,
45+
rtl: PropTypes.bool,
4346
};
4447

4548
static defaultProps = {

0 commit comments

Comments
 (0)