Skip to content

Commit b22415a

Browse files
committed
Add PyPI badge
1 parent 2120ac4 commit b22415a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
</p>
44

55
# PyJSX - Write JSX directly in Python
6+
![PyPI - Version](https://img.shields.io/pypi/v/python-jsx)
67

78
```python
8-
# coding: jsx
9-
from pyjsx import jsx, JSX
10-
11-
def Header(children, style=None, **rest) -> JSX:
9+
def Header(style, children) -> JSX:
1210
return <h1 style={style}>{children}</h1>
1311

14-
def Main(children, **rest) -> JSX:
12+
def Main(children) -> JSX:
1513
return <main>{children}</main>
1614

1715
def App() -> JSX:

0 commit comments

Comments
 (0)