mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
parent
7a49a7806c
commit
f069255b64
12 changed files with 404 additions and 72 deletions
|
@ -131,7 +131,7 @@ MyComponent.render(
|
|||
```py
|
||||
MyComponent.render(
|
||||
kwargs={"position": "left"},
|
||||
slots={"content": lambda *a, **kwa: "Hello, Alice"}
|
||||
slots={"content": lambda ctx: "Hello, Alice"}
|
||||
)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue