Skip to content

Commit cca67af

Browse files
wix-noci: update api.json (#3712)
Co-authored-by: rnuinoci[bot] <182611266+rnuinoci[bot]@users.noreply.github.com>
1 parent 67c484e commit cca67af

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

src/components/tabController/apis/tabController.api.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@
55
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/TabControllerScreen/index.tsx",
66
"images": [],
77
"props": [
8-
{"name": "items", "type": "TabControllerItemProps[]", "description": "The list of tab bar items"},
9-
{"name": "initialIndex", "type": "number", "description": "Initial selected index", "default": "0"},
8+
{
9+
"name": "items",
10+
"type": "TabControllerItemProps[]",
11+
"description": "The list of tab bar items"
12+
},
13+
{
14+
"name": "initialIndex",
15+
"type": "number",
16+
"description": "Initial selected index",
17+
"default": "0"
18+
},
1019
{
1120
"name": "onChangeIndex",
1221
"type": "(index: number, prevIndex: number | null) => void",
@@ -25,7 +34,11 @@
2534
"note": "Does not work with asCarousel",
2635
"default": "false"
2736
},
28-
{"name": "carouselPageWidth;", "type": "number", "description": "Pass for custom carousel page width"}
37+
{
38+
"name": "carouselPageWidth;",
39+
"type": "number",
40+
"description": "Pass for custom carousel page width"
41+
}
2942
],
3043
"snippet": [
3144
"<TabController items={[{label: 'First'}, {label: 'Second'}, {label: 'Third'}]$1}>",
@@ -75,7 +88,7 @@
7588
"items": [
7689
{
7790
"title": "",
78-
"description": "**Inactive Tab**\nText: BodySmall $textDefault\nBackground: $backgroundElevated \n\n**Active Tab**\nText: BodySmallBold $textPrimary\nBackground: $backgroundElevated\nIndicator: $outlinePrimary \n\n**Shadow**\nsh10\n\n**Dark Skin**\nText: BodySmall, System White\nBackground: System Grey10\nDivider: System Grey20",
91+
"description": "markdown: **Inactive Tab**\nText: BodySmall $textDefault\nBackground: $backgroundElevated \n\n**Active Tab**\nText: BodySmallBold $textPrimary\nBackground: $backgroundElevated\nIndicator: $outlinePrimary \n\n**Shadow**\nsh10\n\n**Dark Skin**\nText: BodySmall, System White\nBackground: System Grey10\nDivider: System Grey20",
7992
"content": [
8093
{
8194
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/TabBar/tabBar_overview_styling.png"
@@ -88,7 +101,10 @@
88101
},
89102
{
90103
"type": "table",
91-
"columns": ["Property", "Component"],
104+
"columns": [
105+
"Property",
106+
"Component"
107+
],
92108
"items": [
93109
{
94110
"title": "Counter Badge",

0 commit comments

Comments
 (0)