We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd89383 commit 0c2f4b1Copy full SHA for 0c2f4b1
README.md
@@ -28,7 +28,7 @@ from django_idom import IdomWebsocket
28
# Components are CamelCase by ReactJS convention
29
@component
30
def Hello(websocket: IdomWebsocket, greeting_recipient: str):
31
- return html.header(f"Hello {greeting_recipient}!")
+ return html.h1(f"Hello {greeting_recipient}!")
32
```
33
34
## [`example_app/templates/your-template.html`](https://docs.djangoproject.com/en/dev/topics/templates/)
0 commit comments