MCPcopy
hub / github.com/react-designer/react-designer / render

Method render

src/Icon.js:108–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107 }
108 render() {
109 let styles = {
110 fill: this.props.active? "black": "#b5b5b5",
111 verticalAlign: "middle",
112 width: this.props.size,
113 height: this.props.size
114 };
115 return (
116 <svg viewBox="0 0 24 24"
117 onClick={this.props.onClick}
118 preserveAspectRatio="xMidYMid meet" fit
119 style={{...styles, ...this.props.style}}>
120 {this.renderGraphic()}
121 </svg>
122 );
123 }
124};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected