F2
F2 copied to clipboard
文档中说支持事件,但没有看到具体如何使用事件
这样传入点击事件,点击时却不触发:
<Legend event={{
onTouchStart: (e) => console.log(e),
}}
/>
// 或
<Legend onTouchStart={(e) => console.log(e)} />