The open-source CapCut alternative
use gpui::{div, prelude::*, Context, Window};
use crate::theme::ActiveTheme;
pub(crate) struct Preview;
impl Render for Preview {
fn render(&mut self, window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
let colors = window.theme().colors;
div()
.flex()
.w_1_2()
.h_full()
.items_center()
.justify_center()
.bg(colors.background)
.child("Preview")
}
}