# Radio

单选框。其基于 `antd` 的 [Radio](https://ant.design/components/radio/) 组件进行封装。

## Radio

### Basic Usage

```ts
type RadioProps = AntdRadioProps;
```

<code src="./demos/new-demos/radio-basic.tsx"></code>

### Read Pretty

```ts
interface RadioReadPrettyProps  {
  value?: boolean;
}
```

<code src="./demos/new-demos/radio-read-pretty.tsx"></code>

## Radio Group

```ts
type RadioGroupProps = AntdRadioGroupProps;
```

### Basic Usage

<code src="./demos/new-demos/group-basic.tsx"></code>

### Read Pretty

<code src="./demos/new-demos/group-read-pretty.tsx"></code>

### Read Pretty with color

<code src="./demos/new-demos/group-read-pretty-color.tsx"></code>
