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

## iframe

iframe

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

const props = {
  size: {
    width: 500,
    height: 300
  }
}

export default () => <Charts.Iframe {...props}/>;
```

## API

| 参数      | 说明                       | 类型   |
| --------- | -------------------------- | ------ |
| size      | 宽高                 | object |
| iframeUrl | iframe地址                | string |
| closeIframe | 可关闭            | boolean |
| scrolling | 是否可滚动 | boolean |
| iframeSet | 内置属性 | object


### closeIframe

| 参数   | 说明 | 类型           |
| ------ | ---- | -------------- |
| showCloseBtn | 是否始终显示开关   | string |




