(rootElement: HTMLElement)
| 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 | } |