MCPcopy Create free account
hub / github.com/ElemeFE/element-react / iconClass

Method iconClass

src/progress/Progress.jsx:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 iconClass(): string {
69 const { type, status } = this.props;
70 return type === 'line'
71 ? status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-cross'
72 : status === 'success' ? 'el-icon-check' : 'el-icon-close';
73 }
74
75 progressTextSize(): number {
76 const { type, strokeWidth, width } = this.props;

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected