docs: Split README (#775)

This commit is contained in:
Juro Oravec 2024-11-25 23:46:52 +01:00 committed by GitHub
parent f1a351f7f4
commit 4d5fecf3ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 4118 additions and 11 deletions

View file

@ -35,6 +35,16 @@ class DynamicComponent(Component):
{% endcomponent %}
```
Or in case you use the `django_components.component_shorthand_formatter` tag formatter:
```django
{% dynamic is=table_comp data=table_data headers=table_headers %}
{% fill "pagination" %}
{% component "pagination" / %}
{% endfill %}
{% enddynamic %}
```
Python
```py
from django_components import DynamicComponent