cjd-parkball
Version:
> 中后台业务组件库,中后台就像公园,进入需要买门票(登录),所以以 Parkball(公园球) 命名,公园内必定捕获!作为一个组件库,提供使用方法文档,方便开发者的调用
26 lines (25 loc) • 499 B
Markdown
title: 带多操作的容器用法
title_en: container with more operation usage
category: 2
展示了一个带操作的容器用法
```jsx
import { Container } from 'parkball'
ReactDOM.render(
<Container
title='标题2'
operation={[
<a href="#">操作1</a>,
<a href="#">操作2</a>,
<a href="#">操作3</a>,
<a href="#">操作4</a>,
<a href="#">操作5</a>,
]}
operationItemLength={3}
>
内容部分
</Container>,
mountNode
)
```