Very similar to the RadioGroup component but uses regular radio inputs instead of buttons.
<RadioControllabel="User type"help="The type of the current user"selected={"a"}options={[{ label:'Author', value:'a'},{ label:'Editor', value:'e'},]}onChange={(option)=>{e=> console.log(e)}}/>
GitHub URL
Classification
Category
Components
We use cookies to provide the best experience on wp-gb.com, for analysis, and to personalize content. You can read more and edit your cookie settings via the link below. If you wish to update your cookie settings at a later time, you can always find a link to this page at the bottom of the site under “Privacy Policy.” To consent to the full use of cookies, click “I accept.”