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

fix(RadioSimple): create RadioSimple to handle generic component #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stanjiawang
Copy link
Collaborator

IMPORTANT

Currently, this project is closed to any external contributions. Any pull request made against this project from external sources will likely be closed. If you would like to make changes to this project, please fork this project.

Guide

This "Help" section can be deleted before submitting this pull request.

Update the name of this pull request to reflect the following shape:

{type}/{scope?}/{message}
  • type - A conventional commit type REQUIRED
  • scope - The kabab-case scope of the changes in this request
  • message - A short, kebab-case statement describing the changes REQUIRED

Provide a general summary of the scope of the changes in this pull request.
Create new component RadioSimple inside RadioGroup

Description

Create RadioSimple component to handle more generic component inside RadioGroup

The full description of the changes made in this request.

  1. Create RadioSimple component
  2. Pass isRadioSimple params to RadioGroup
  3. Return RadioSimple inside RadioGroup if isRadioSimple is true.

Links

Links to relevent resources.
https://react-spectrum.adobe.com/react-aria/useRadioGroup.html

@stanjiawang stanjiawang self-assigned this May 23, 2024
@stanjiawang stanjiawang added the validated If the pull request is validated automation. label May 23, 2024
@@ -0,0 +1,38 @@
import React, { FC, useContext, useRef } from 'react';
Copy link
Collaborator

Choose a reason for hiding this comment

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

blocking this PR, since the build fails & there are no unit tests written for the changes. Please address that first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validated If the pull request is validated automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants