We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7dbdd commit 435fcbcCopy full SHA for 435fcbc
src/reactpy/types.py
@@ -897,6 +897,7 @@ class JsonImportSource(TypedDict):
897
898
class JavaScript(str):
899
"""A simple way of marking JavaScript code to be executed client-side"""
900
+
901
pass
902
903
tests/test_utils.py
@@ -196,12 +196,12 @@ def test_string_to_reactpy(case):
196
},
197
# 9: Includes `jsExecutables` attribue
198
{
199
- "source": '''<button onclick="this.innerText = 'CLICKED'">Click Me</button>''',
+ "source": """<button onclick="this.innerText = 'CLICKED'">Click Me</button>""",
200
"model": {
201
"tagName": "button",
202
"jsExecutables": {"onclick": "this.innerText = 'CLICKED'"},
203
"children": ["Click Me"],
204
- }
+ },
205
206
],
207
)
0 commit comments