Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testIDs prop to SegmentedControl #19

Merged
merged 6 commits into from
Oct 2, 2023

Conversation

narin
Copy link
Contributor

@narin narin commented Sep 28, 2023

Description

  • Adds testIDs as an optional prop to the SegmentedControl component
  • testIDs is a string of arrays that can be passed and assigned to each segment based on index

Linked issue: department-of-veterans-affairs/va-mobile-app#6732

Screenshots

iOS

Web

Screenshot 2023-09-28 at 9 21 13 AM

@TimRoe
Copy link
Contributor

TimRoe commented Sep 28, 2023

Should this also include a PR on the app side consuming publishing of these changes?

@timwright12
Copy link
Collaborator

Should this also include a PR on the app side consuming publishing of these changes?

If this is something they need right now, sure, but we can also work that out in whatever release plan we haven't made yet

@narin
Copy link
Contributor Author

narin commented Sep 29, 2023

Added typescript typings to the style-dictionary that are also generated to the dist/ folder when running yarn build.

Also created PR to bump mobile-components version: department-of-veterans-affairs/va-mobile-app#6886

@narin narin merged commit 1f66efc into main Oct 2, 2023
4 checks passed
@narin narin deleted the 6736-nr-segmented-control-add-testid branch November 9, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants