♻️ (pagetop): Incorpora Context al render de Props
This commit is contained in:
parent
a2b3ae2eb8
commit
ab1d4f0efb
49 changed files with 212 additions and 133 deletions
|
|
@ -40,7 +40,7 @@ impl Component for Block {
|
|||
}
|
||||
|
||||
Ok(html! {
|
||||
div (self.props()) {
|
||||
div (self.props().unpack(cx)) {
|
||||
@if let Some(title) = self.title().lookup(cx) {
|
||||
h2 class="block-title" { span { (title) } }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue