Skip to content

Primer Alpha::ToggleSwitch doesn't support custom status label #3658

@bsatarnejad

Description

@bsatarnejad

Steps to reproduce

Go to Toggle switch lookbook: https://primer.style/view-components/lookbook/inspect/primer/alpha/toggle_switch/playground

Current behavior:
It doesn't support passing custom label for status:

toggle switch default

Expected behavior:
Passing status label to the toggle switch:

toggle switch with custom status label

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions