react-icons / react-icons/react-icons
Provide Import library When copying
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.7k
- Forks
- 809
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
https://react-icons.github.io/react-icons/search?q=sun gives names of IoSunny... but the import is not the same.
Minimal sample repository
import { IoSunnyOutline} from 'react-icons/io';
Expected behavior
Works
Desktop (please complete the following information):
- Device: PC
- OS: Windows
- Browser Webview2/Edge
- Version ???
Additional context
Add any other context about the problem here.
import { IoSunnyOutline} from 'react-icons/io**5**';
Yeah please add the import to the clipboard rather than just the component name, it'll be easier to import then.
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 from the react-icons search page linked in the issue and reproduce the IoSunnyOutline result using the provided sample imports. Trace the existing copy-to-clipboard behavior and make copying include the valid import path, including the io5 example; done when the copied text can be used directly as an import.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100