MCPcopy
hub / github.com/visgl/deck.gl / onRenderHTML

Method onRenderHTML

modules/widgets/src/icon-widget.tsx:54–68  ·  view source on GitHub ↗
(rootElement: HTMLElement)

Source from the content-addressed store, hash-verified

52 }
53
54 onRenderHTML(rootElement: HTMLElement): void {
55 const {className, style, icon, color, label, onClick} = this.props;
56
57 render(
58 <IconButton
59 className={className}
60 style={style as JSX.CSSProperties}
61 color={color}
62 icon={icon}
63 label={label}
64 onClick={onClick}
65 />,
66 rootElement
67 );
68 }
69}

Callers

nothing calls this directly

Calls 1

renderFunction · 0.50

Tested by

no test coverage detected