Skip to content

XDSSwitch: rename labelSpacing "default" value to something more descriptive #2889

Closed

Description

@kentonquatman

Description

For XDSSwitch, the labelSpacing prop has a value named default, which doesn't describe what it actually does.

Proposed change

  • Rename the default value to something more descriptive — a name that suggests its behavior, similar to how the spread value is named. It should remain the default value, just with a more meaningful name.
  • Optionally, if it makes more sense, spread could be renamed to spaceBetween to align with CSS property naming.

Component

  • XDSSwitch

Activity

  1. added
    enhancement
    component
    on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    componentenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions