Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
createHtml: function (): void {
this.html = generate(this.address, this.size).outerHTML;
}
}
private appendIcon = (node: Element | null): void => {
const { address, size } = this.props;
if (node) {
node.appendChild(
generate(address, size)
);
}
}
}