📜  react typescript onclick type - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:14.500000             🧑  作者: Mango

代码示例3
interface IProps_Square {
  message: string;
  onClick: React.MouseEventHandler;
}