---
order: 3
group:
  title: 文本
  order: 40
---

## 背景板

可用来做面板的背景

```tsx
import React from 'react';
import * as Charts from 'edata-charts';

export default () => <Charts.BgPlate />;
```

## API

| 参数            | 说明       | 类型   |
| --------------- | ---------- | ------ |
| size            | 容器的宽高 | object |
| text            | 标题名称   | string |
| backgroundImage | 标题背景   | string |
| textStyle       | 标题样式   | object |

### size

| 参数   | 说明 | 类型           |
| ------ | ---- | -------------- |
| width  | 宽度 | number\|string |
| height | 高度 | number\|string |

### textStyle

| 参数       | 说明     | 类型   |
| ---------- | -------- | ------ |
| fontSize   | 字体大小 | number |
| fontFamily | 字体     | string |
| color      | 字体颜色 | string |
| fontWeight | 字体粗细 | string |
