Skip to content

Commit 1e9cd94

Browse files
暮尘tao1991123
暮尘
authored andcommitted
feat(Progress): add color & backgroundColor props
1 parent eab75fb commit 1e9cd94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/progress/view/progress.jsx

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ export default class Progress extends Component {
4040
* @return {ReactNode} 返回文本节点
4141
*/
4242
textRender: PropTypes.func,
43+
/**
44+
* 进度条颜色,
45+
*/
46+
color: PropTypes.string,
47+
/**
48+
* 背景色
49+
*/
50+
backgroundColor: PropTypes.string,
4351
};
4452

4553
static defaultProps = {

0 commit comments

Comments
 (0)