JedWatson / JedWatson/react-select
Docs is outdated.
Open
Nobody has claimed this yet.
issue/bug-unconfirmed
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Docs is outdated.
https://react-select.com/styles#cx-and-custom-components
cxworks different now.
It should be - (state?: {}, className?: string) => string

getStylesexample should import@emotion/cssand updatecxusage.

Contributor guide
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
Open the styles documentation at the linked “cx and custom components” section and compare its cx signature and getStyles example with the current API. Done means the signature reflects the optional state and className parameters, and the example imports @emotion/css and uses cx correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100