Skip to content

Commit d50d424

Browse files
committed
api - fix curlies escape
1 parent 2419d3a commit d50d424

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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"}

src/components/picker/api/picker.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
{"name": "showSearch", "type": "boolean", "description": "Show search input to filter picker items by label"},
5959
{
6060
"name": "searchStyle",
61-
"type": "{{color: string, placeholderTextColor: string, selectionColor: string}}",
61+
"type": "{color: string, placeholderTextColor: string, selectionColor: string}",
6262
"description": "Style object for the search input (only when passing showSearch)"
6363
},
6464
{

0 commit comments

Comments
 (0)