Closed Hamaad102 closed 1 year ago
- lets center the label to the radio button so they are in line vertically. Also, can you add an option and sample for the label to be on the left side of the radio button?
- remember to add forwardRef for the main/root container
Agree with KC's comments!
take a look on older component passing down {...rest} to the main container of the component for any other extra props for the div. Also, add forwardRef for radio component as well not only radioGroup
In this instance would the unique value for each radio button not serve the same purpose?
take a look on older component passing down {...rest} to the main container of the component for any other extra props for the div. Also, add forwardRef for radio component as well not only radioGroup
In this instance would the unique value for each radio button not serve the same purpose?
it is for the case if user only wants to use the radio component without radioGroup. For {...rest} is if user wants to add id,name,etc any other container html props
resolves #160
Changes
Horizontal
Horizontal + Left Label
Vertical
Vertical + Left Label