fix(radio-button-group): set name attribute on inputs

This commit is contained in:
metonym 2023-09-28 14:44:14 -07:00
commit 050eb122d0
5 changed files with 52 additions and 12 deletions

View file

@ -40,6 +40,12 @@ export interface RadioButtonGroupProps extends RestProps {
*/
orientation?: "horizontal" | "vertical";
/**
* Set a name for all radio button input elements within the group
* @default undefined
*/
name?: string;
/**
* Set an id for the container div element
* @default undefined