MCPcopy Create free account
hub / github.com/DTStack/Taier / render

Method render

taier-ui/src/components/chart/index.tsx:77–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 };
76
77 render() {
78 const { width, height, style } = this.props;
79 const styleParams = {
80 ...style,
81 width: width ? this.styleFormat(width) : '100%',
82 height: height ? this.styleFormat(height) : '300px',
83 };
84 return (
85 <div
86 ref={(chart) => {
87 this.chart = chart;
88 }}
89 style={styleParams}
90 />
91 );
92 }
93}

Callers 4

confirmFunction · 0.45
initLoginFunction · 0.45
emitEventFunction · 0.45
renderMustacheFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected