Skip to content

Commit

Permalink
feat(Progress): add rtl support
Browse files Browse the repository at this point in the history
  • Loading branch information
tao1991123 committed Nov 28, 2018
1 parent 71d602f commit cbe6747
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/progress/view/progress.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ export default class Progress extends Component {
/**
* 文本渲染函数
* @param {Number} percent 当前的进度信息
* @param {Object} option 额外的参数
* @property {Boolean} option.rtl 是否在rtl 模式下渲染
* @return {ReactNode} 返回文本节点
*/
textRender: PropTypes.func,
rtl: PropTypes.bool,
};

static defaultProps = {
Expand Down

0 comments on commit cbe6747

Please sign in to comment.