Rename back to div
This commit is contained in:
parent
be18c47912
commit
c6e8a097a3
62 changed files with 154 additions and 156 deletions
|
@ -1,6 +1,6 @@
|
|||
use crate::prelude::*;
|
||||
use crate::{Icon, IconColor, IconElement, Label, LabelColor};
|
||||
use gpui::{prelude::*, red, ElementId, Node, Render, View};
|
||||
use gpui::{prelude::*, red, Div, ElementId, Render, View};
|
||||
|
||||
#[derive(Component, Clone)]
|
||||
pub struct Tab {
|
||||
|
@ -21,7 +21,7 @@ struct TabDragState {
|
|||
}
|
||||
|
||||
impl Render for TabDragState {
|
||||
type Element = Node<Self>;
|
||||
type Element = Div<Self>;
|
||||
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||
div().w_8().h_4().bg(red())
|
||||
|
@ -178,7 +178,7 @@ mod stories {
|
|||
pub struct TabStory;
|
||||
|
||||
impl Render for TabStory {
|
||||
type Element = Node<Self>;
|
||||
type Element = Div<Self>;
|
||||
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||
let git_statuses = GitStatus::iter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue