Skip to content

v5: Add Switch thumbColor/trackColor prop mappings #1757

Description

@danstepanov

In v4, Nativewind provided thumb-* utilities and trackColor theme values for styling the Switch component. v5 does not include these mappings and they were not mentioned in the migration guide as intentionally removed. Add Switch-specific prop mappings (thumbColor, trackColor) to theme.css using @map/@prop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferred (post-5.0)Not required for the 5.0 latest release; revisit afterneeds reproductionhttps://github.com/nativewind/nativewind/blob/next/contributing.md#opening-an-issue

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions