Skip to content

Docs is outdated. #5297

@igoryusha22

Description

@igoryusha22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions