Change TitleBar
to a view
This commit is contained in:
parent
b30b1d145c
commit
f3679b37a2
3 changed files with 44 additions and 35 deletions
|
@ -153,10 +153,7 @@ impl ComponentStory {
|
|||
ui::ThemeSelectorStory::new().into_any()
|
||||
})
|
||||
.into_any(),
|
||||
Self::TitleBar => view(cx.entity(|cx| ()), |_, _| {
|
||||
ui::TitleBarStory::new().into_any()
|
||||
})
|
||||
.into_any(),
|
||||
Self::TitleBar => ui::TitleBarStory::view(cx).into_any(),
|
||||
Self::Toast => {
|
||||
view(cx.entity(|cx| ()), |_, _| ui::ToastStory::new().into_any()).into_any()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue