We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2120ac4 commit b22415aCopy full SHA for b22415a
README.md
@@ -3,15 +3,13 @@
3
</p>
4
5
# PyJSX - Write JSX directly in Python
6
+
7
8
```python
-# coding: jsx
9
-from pyjsx import jsx, JSX
10
-
11
-def Header(children, style=None, **rest) -> JSX:
+def Header(style, children) -> JSX:
12
return <h1 style={style}>{children}</h1>
13
14
-def Main(children, **rest) -> JSX:
+def Main(children) -> JSX:
15
return <main>{children}</main>
16
17
def App() -> JSX:
0 commit comments