---
order: 2
title: Radio.Group
desc: 组合
---

```javascript
import React, { Component } from "react";
import { Radio } from "sky-react";

export default class RadioDemo extends React.Component {
	constructor() {
		super();
		this.state = {
			value:2
		};
	}
	onChange = value => {
		this.setState({
			value: value
		})
	};
	render() {
		const { value } = this.state;
		return (
			<Radio.Group
			    value={value}
			    defaultValue= {1}
				onChange={this.onChange}
			>
				<Radio value={1}>A</Radio>
				<Radio value={2}>B</Radio>
				<Radio value={3}>C</Radio>
			</Radio.Group>
		);
	}
}
```
