## DageCheckboxGroup 多选框

### 控制最大选择个数

```tsx
import React, { useState } from "react";
import { DageCheckboxGroup } from "@dage/pc-components";

export default () => {
  const [value, setValue] = useState<string[]>([]);

  return (
    <DageCheckboxGroup
      value={value}
      max={2}
      options={["Apple", "Banana", "Lemon"]}
      onChange={setValue}
    />
  );
};
```

## API

[详细 API 参考 antd CheckboxGroup](https://ant.design/components/checkbox-cn)

<API hideTitle exports='["DageCheckboxGroup"]' src='@dage/pc-components/index.d.ts'></API>
