JedWatson / JedWatson/react-select

Docs is outdated.

Open
#5,297 2 comments 1 reaction 0 assignees View on GitHub

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

  • cx works different now.

It should be - (state?: {}, className?: string) => string

image


  • getStyles example should import @emotion/css and update cx usage.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.