# ButtonGroup - 按钮组

## 说明

按钮组组件，支持水平（最多 2 个）和垂直（最多 3 个）布局，基于 BlockButton 实现。

## 属性

| 属性 | 说明 | 类型 | 默认值 | 必填 |
|------|------|------|--------|------|
| **buttons** | 按钮配置数组 | `Array<BlockButtonProps>` | 取消/确认 | 否 |
| **layout** | 布局方向 | `'horizontal' \| 'vertical'` | `'horizontal'` | 否 |
| **accessible** | 无障碍：是否启用 | `boolean` | `true` | 否 |
| **accessibilityLabel** | 无障碍标签 | `string` | - | 否 |
| **layerDismissAccessibilityHint** | 弹层关闭无障碍提示 | `string` | - | 否 |

## 使用示例

```tsx
import ButtonGroup from '@hyperOS/components/buttonGroup/ButtonGroup';

// 水平双按钮（默认）
<ButtonGroup
  buttons={[
    { title: '取消', onPress: handleCancel },
    { title: '确认', type: 'primary', onPress: handleConfirm },
  ]}
/>

// 垂直布局
<ButtonGroup
  layout="vertical"
  buttons={[
    { title: '主操作', type: 'primary', onPress: handlePrimary },
    { title: '次操作', onPress: handleSecondary },
    { title: '危险操作', type: 'warning', onPress: handleDanger },
  ]}
/>
```
