Add placeholder BufferSearch

This commit is contained in:
Marshall Bowers 2023-10-13 17:20:44 -04:00
parent c70f220db3
commit 349ad7858b
3 changed files with 25 additions and 2 deletions

View file

@ -0,0 +1,20 @@
use crate::prelude::*;
use crate::EditorPane;
#[derive(Element)]
#[element(view_state = "EditorPane")]
pub struct BufferSearch {}
impl BufferSearch {
pub fn new() -> Self {
Self {}
}
fn render(
&mut self,
_view: &mut EditorPane,
cx: &mut ViewContext<EditorPane>,
) -> impl Element<ViewState = EditorPane> {
div().child("This is where Buffer Search goes.")
}
}