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

Method progressTextSize

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

Source from the content-addressed store, hash-verified

73 }
74
75 progressTextSize(): number {
76 const { type, strokeWidth, width } = this.props;
77 return type === 'line' ? 12 + strokeWidth * 0.4 : width * 0.111111 + 2;
78 }
79
80 render(): React.DOM {
81 const {

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected