Skip to content

Conversation

britt6612
Copy link
Collaborator

What does this PR do?

This PR adds the option to add tip in options prop for ToggleGroup

Where should the reviewer start?

togglegroup.js

What testing has been done on this PR?

storybook & wrote a test

How should this be manually tested?

storybook

Do Jest tests follow these best practices?

yes

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

What are the relevant issues?

closes #7254

Screenshots (if appropriate)

Do the grommet docs need to be updated?

yes

Should this PR be mentioned in the release notes?

yes

Is this change backwards compatible or is it a breaking change?

backwards compatible

@britt6612 britt6612 requested a review from jcfilben June 18, 2024 20:33
Copy link
Collaborator

@jcfilben jcfilben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add options.tip to the PropTypes for ToggleGroup?

@britt6612
Copy link
Collaborator Author

Can we add options.tip to the PropTypes for ToggleGroup?

added

@britt6612 britt6612 requested a review from jcfilben June 18, 2024 21:20
Copy link
Collaborator

@jcfilben jcfilben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@britt6612 britt6612 requested a review from MikeKingdom June 18, 2024 22:15
Copy link
Collaborator

@MikeKingdom MikeKingdom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToggleGroup when icon only use Tip
3 participants