mia-platform / design-system

React graphical components designed by Mia Platform
https://mia-platform.github.io/design-system/
Apache License 2.0
13 stars 1 forks source link

feat(CheckboxGroup/RadioGroup): added prop "direction" to checkbox and radio groups #724

Closed nicmell closed 20 hours ago

nicmell commented 1 day ago

Description

Added the prop "direction" (vertical|horizontal) to the RadioGroup and Checkbox group components.

CheckboxGroup:
-  CheckboxGroup component supports the prop "direction" to control the direction of the options elements.
- Fixed checkbox behaviour when input is controlled
RadioGroup:
-  RadioGroup component supports the prop "direction" t to control the direction of the options elements.

[IMPORTANT] PR Checklist

PR conventions

Please make sure your PR complies with the following rules before submitting it.

Additional code checks

Based on your changes, some of these checks may not apply. Please make sure to check the relevant items in the list.