README
showNav: true
page
@rrc-materials/pagefor rrc
::: tip
如果给rc-page设置direction属性,内容就会按照direction排列;否则如果内容包含rc-toolbar、rc-footer、rc-card、rc-panel、rc-table时,内容就会按vertical排列
:::
默认
纵向
设置direction属性为vertical
带内边距
Attributes
| 参数 | 说明 | 可选值 | 类型 | 默认值 |
|---|---|---|---|---|
| direction | 方向 | vertical/horizontal | String | - |
| padding | 是否带内边距,为true时内边距16px | - | Boolean | true |