UNPKG
cjd-parkball
Version:
latest (0.7.33)
0.7.33
> 中后台业务组件库,中后台就像公园,进入需要买门票(登录),所以以 Parkball(公园球) 命名,公园内必定捕获!作为一个组件库,提供使用方法文档,方便开发者的调用
cjd-parkball
/
src
/
components
/
container
/
demo
/
basic.md
21 lines
(20 loc)
•
374 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
title:
容器的基本用法
title_en:
normal
usage
for
Container
component
category:
2
---
展示了一个容器组件的基本用法
```jsx
import
{
Container
}
from
'parkball'
ReactDOM.render(
<div>
<Container
title='标题1'>
内容部分1
</Container>
<Container
title='标题2'>
内容部分2
</Container>
</div>,
mountNode
)
```