react-component / react-component/notification
希望增加 props 可控 onMouseEnter onMouseLeave。
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 118
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 2
Description
hover Toast 会清除定时器,希望增加 props 可控。
https://github.com/react-component/notification/blob/af67623bc6f758903dd7d6e80a2d4cae19cb1783/src/Notice.tsx#L113
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/Notice.tsx at the linked line and trace how hovering a Toast clears its timer. Add the requested prop-controlled mouse-enter and mouse-leave behavior, then verify that the timer behavior matches the documented prop settings using the repository’s existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100