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

feat(radio): Add Radio component #254

Merged
merged 2 commits into from
Sep 5, 2023
Merged

feat(radio): Add Radio component #254

merged 2 commits into from
Sep 5, 2023

Conversation

diogomateus
Copy link
Collaborator

What this PR does

This PR adds the Radio component.

How to test?

Check the radio story.

Screenshot 2023-08-21 at 13 51 34

Checklist:

  • I reviewed my own code
  • The changes align with the designs I received
    Or give a reason why this does not apply:
  • I have attached screenshot(s), video(s) or gif(s) showing that the solution is working as expected
    Or give a reason why this does not apply:
  • I have updated the task(s) status on Linear
  • All new media is optimized (images, gifs, videos)

Browser support

My code works in the following browsers:

  • Firefox
  • Chrome
  • Safari
  • Edge

{typeof label === 'string' ? label : (
<div>
<p className="p-p">{label.title}</p>
<span className="d-block p-p p-p--small tc-grey-600">
Copy link
Contributor

Choose a reason for hiding this comment

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

Can p-p p-p--small go back to back?

@diogomateus diogomateus merged commit 6cb2f71 into main Sep 5, 2023
4 checks passed
@diogomateus diogomateus deleted the diogo/radio branch September 5, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants