RadioControl

A simple group of radio inputs.

Very similar to the RadioGroup component but uses regular radio inputs instead of buttons.

<RadioControl
	label="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