Skip to content

Commit ed2fadc

Browse files
authored
fix: component typo (#212)
1 parent 1511ecc commit ed2fadc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,9 +815,9 @@ Unfold provides a set of already predefined templates to speed up overall dashbo
815815
The biggest benefit of Unfold components is the possibility to nest them inside one template file provides an unlimited amount of possible combinations. Then each component includes `children` variable which contains a value specified in the parent component. Except for `children` variable, components can have multiple variables coming from the parent template as component variables. These parameters can be specified in the same as parameters when using `{% include with param1=value1 param2=value2 %}` template tag.
816816

817817
```html+django
818-
{% compontent "unfold/components/flex.html" with col=1 %}
818+
{% component "unfold/components/flex.html" with col=1 %}
819819
{% component "unfold/components/card.html" %}
820-
{% compontent "unfold/components/title.html" %}
820+
{% component "unfold/components/title.html" %}
821821
Card Title
822822
{% endcomponent %}
823823
{% endcomponent %}

0 commit comments

Comments
 (0)