mirror of
https://github.com/django-components/django-components.git
synced 2025-08-16 20:20:14 +00:00
docs: Split README (#775)
This commit is contained in:
parent
f1a351f7f4
commit
4d5fecf3ee
36 changed files with 4118 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue