Skip to content

Commit 191cb26

Browse files
committed
fix api files
1 parent 0838c6e commit 191cb26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/chip/chip.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"props": [
1313
{
1414
"name": "size",
15-
"type": "number | {width: number, height: number}",
15+
"type": "number | {{width: number, height: number}}",
1616
"description": "Chip's size. Number or a width and height object"
1717
},
1818
{"name": "onPress", "type": "(props: any) => void", "description": "On Chip press callback"},

src/components/colorPicker/colorPicker.api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
},
2828
{
2929
"name": "accessibilityLabels",
30-
"type": "{\n addButton?: string,\n dismissButton?: string,\n doneButton?: string,\n input?: string}",
30+
"type": "{{\n addButton: string,\n dismissButton: string,\n doneButton: string,\n input: string}}",
3131
"description": "Accessibility labels as an object of strings",
32-
"default": "{\n addButton: 'add custom color using hex code',\n dismissButton: 'dismiss',\n doneButton: 'done',\n input: 'custom hex color code'\n}"
32+
"default": "{{\n addButton: 'add custom color using hex code',\n dismissButton: 'dismiss',\n doneButton: 'done',\n input: 'custom hex color code'\n}}"
3333
},
3434
{"name": "style", "type": "ViewStyle", "description": "Component's style"},
3535
{"name": "testID", "type": "string", "description": "The test id for e2e tests"}

0 commit comments

Comments
 (0)