refactor: simplify slot API (#1202)

Closes #1096
This commit is contained in:
Juro Oravec 2025-05-20 09:48:45 +02:00 committed by GitHub
parent 7a49a7806c
commit f069255b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 404 additions and 72 deletions

View file

@ -346,5 +346,5 @@ class TestComponentCache:
):
TestComponent.render(
kwargs={"input": "cake"},
slots={"content": lambda *a, **kwa: "ONE"},
slots={"content": lambda ctx: "ONE"},
)