Tabs
Tab navigation component with multiple panels. Each tab has a title and associated content.
组件展示
属性
属性名
类型
必需性
描述
id*ComponentId必需
暂无描述
accessibilityAccessibilityAttributes可选
暂无描述
stylesStyles可选
Component style properties
weightnumber可选
The relative weight of this component within a Row or Column. This is similar to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column.
component*"Tabs"必需
暂无描述
tabs*object[]必需
An array of objects, where each object defines a tab with a title and a child component.
代码示例
{
"component": "Tabs",
"id": "tabs_1",
"tabs": {}
}