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

OPHJOD-261: Add RadioButton & RadioButtonGroup components #14

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Conversation

ketsappi
Copy link
Contributor

Description

  • Add RadioButton
  • Add RadioButtonGroup

Related JIRA ticket

https://jira.eduuni.fi/browse/OPHJOD-261

@ketsappi ketsappi marked this pull request as draft March 27, 2024 08:46
@ketsappi ketsappi marked this pull request as ready for review March 27, 2024 09:07
@ketsappi ketsappi requested a review from sauanto March 27, 2024 09:07

const Wrapper = ({ children }: { children: React.ReactNode }) => {
return (
<RadioButtonGroup label="" value="" onChange={vi.fn()}>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it is better to add some label and value than an empty string.

Copy link
Contributor Author

@ketsappi ketsappi Mar 27, 2024

Choose a reason for hiding this comment

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

I can add those. As this wrapper is not under the actual test I did not consider it crucial.
EDIT: Changed and commited.

Copy link

sonarcloud bot commented Mar 27, 2024

@ketsappi ketsappi merged commit 591c31b into main Mar 27, 2024
3 checks passed
@ketsappi ketsappi deleted the OPHJOD-261 branch March 27, 2024 11:01
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.

2 participants