mirror of
https://github.com/django-components/django-components.git
synced 2025-07-07 17:34:59 +00:00
docs: fix parametrising components section next step line position (#1286)
This commit is contained in:
parent
39e9ee0dc3
commit
bcc7bac48d
1 changed files with 4 additions and 4 deletions
|
@ -220,10 +220,6 @@ the parametrized version of the component:
|
|||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Next, you will learn [how to use slots give your components even more flexibility ➡️](./adding_slots.md)
|
||||
|
||||
### 5. Add defaults
|
||||
|
||||
In our example, we've set the `extra_class` to default to `"text-blue"` by setting it in the
|
||||
|
@ -258,3 +254,7 @@ class Calendar(Component):
|
|||
"extra_class": kwargs["extra_class"], # <--- changed
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Next, you will learn [how to use slots give your components even more flexibility ➡️](./adding_slots.md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue