Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Jan 26, 2025
1 parent 340fbf7 commit 90dba1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
![PyPI - Version](https://img.shields.io/pypi/v/python-jsx)

```python
from pyjsx import jsx, JSX

def Header(style, children) -> JSX:
return <h1 style={style}>{children}</h1>

Expand Down

0 comments on commit 90dba1c

Please sign in to comment.