Rename back to div
This commit is contained in:
parent
be18c47912
commit
c6e8a097a3
62 changed files with 154 additions and 156 deletions
|
@ -1,4 +1,4 @@
|
|||
use gpui::{div, white, Node, ParentComponent, Render, Styled, View, VisualContext, WindowContext};
|
||||
use gpui::{div, white, Div, ParentComponent, Render, Styled, View, VisualContext, WindowContext};
|
||||
|
||||
pub struct TextStory;
|
||||
|
||||
|
@ -9,7 +9,7 @@ impl TextStory {
|
|||
}
|
||||
|
||||
impl Render for TextStory {
|
||||
type Element = Node<Self>;
|
||||
type Element = Div<Self>;
|
||||
|
||||
fn render(&mut self, cx: &mut gpui::ViewContext<Self>) -> Self::Element {
|
||||
div().size_full().bg(white()).child(concat!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue