Newer
Older
import { InferType } from "prop-types";
import React from "react";
};
export class ToolButton extends React.PureComponent<
propTypes,
InferType<typeof ToolButton.stateTypes>
> {
static stateTypes = {};
render(): React.ReactNode {
return (
<button
title={this.props.title}
// onClick={() => this.props.state.setTool(this.props.tool)}