openai/chatkit-python

Public

mirrored fromhttps://github.com/openai/chatkit-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
778828a4fbce2d0e3232582de073e9a10275ad4c

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

tests/assets/widgets/card_no_data.json

71lines · modecode

1{
2 "type": "Card",
3 "children": [
4 {
5 "type": "Col",
6 "align": "center",
7 "gap": 4,
8 "padding": 4,
9 "children": [
10 {
11 "type": "Box",
12 "background": "green-400",
13 "radius": "full",
14 "padding": 3,
15 "children": [
16 {
17 "type": "Icon",
18 "name": "check",
19 "size": "3xl",
20 "color": "white"
21 }
22 ]
23 },
24 {
25 "type": "Col",
26 "align": "center",
27 "gap": 1,
28 "children": [
29 {
30 "type": "Title",
31 "value": "Enable notification"
32 },
33 {
34 "type": "Text",
35 "value": "Notify me when this item ships",
36 "color": "secondary"
37 }
38 ]
39 }
40 ]
41 },
42 {
43 "type": "Row",
44 "children": [
45 {
46 "type": "Button",
47 "label": "Yes",
48 "block": true,
49 "onClickAction": {
50 "type": "notification.settings",
51 "payload": {
52 "enable": true
53 }
54 }
55 },
56 {
57 "type": "Button",
58 "label": "No",
59 "block": true,
60 "variant": "outline",
61 "onClickAction": {
62 "type": "notification.settings",
63 "payload": {
64 "enable": true
65 }
66 }
67 }
68 ]
69 }
70 ]
71}
72