Skip to content

Commit 3a2417a

Browse files
wix-noci: update api.json (#3564)
Co-authored-by: rnuinoci[bot] <182611266+rnuinoci[bot]@users.noreply.github.com>
1 parent 7abd766 commit 3a2417a

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

src/components/toast/toast.api.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,34 @@
55
"example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/ToastsScreen.js",
66
"caution": "Please consider moving to our new Toast implementation and use Incubator.Toast instead",
77
"images": [],
8-
"props": []
8+
"props": [],
9+
"docs": {
10+
"hero": {
11+
"title": "Toast",
12+
"description": "Toasts give quick feedback or updates without interrupting the user. They’re used for non-critical messages, like success notifications, and disappear on their own. Toasts can include one action, but it shouldn’t be “Dismiss” or “Close.”",
13+
"type": "hero",
14+
"layout": "horizontal",
15+
"content": [
16+
{
17+
"value": "https://wixmp-1d257fba8470f1b562a0f5f2.wixmp.com/mads-docs-assets/assets/Components%20Docs/Toast/toast_cover.png"
18+
}
19+
]
20+
},
21+
"tabs": [
22+
{
23+
"title": "Overview",
24+
"sections": [
25+
{
26+
"type": "section",
27+
"title": "Usage Examples",
28+
"content": [
29+
{
30+
"value": "https://embed.figma.com/design/xFjvYNkGTmYTGYMLrmz9Ir/Guidelines-to-Docs?node-id=4419-247566&embed-host=share"
31+
}
32+
]
33+
}
34+
]
35+
}
36+
]
37+
}
938
}

0 commit comments

Comments
 (0)