文档中说支持事件,但没有看到具体如何使用事件
Open
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
这样传入点击事件,点击时却不触发:
```tsx
console.log(e),
}}
/>
// 或
console.log(e)} />
```
Contributor guide
Research direction
Start by reviewing the event documentation for Legend and the two TSX usage forms shown in the report. Reproduce the reported interaction, then determine whether the documentation or event behavior needs correction. Done means the documented usage is clear and the example's callback is confirmed to trigger.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100