diff --git a/crates/story/src/table_story.rs b/crates/story/src/table_story.rs index 1cf5a947..88f0865b 100644 --- a/crates/story/src/table_story.rs +++ b/crates/story/src/table_story.rs @@ -6,8 +6,8 @@ use std::{ use fake::{Fake, Faker}; use gpui::{ div, impl_internal_actions, prelude::FluentBuilder as _, px, AnyElement, App, AppContext, - Context, Edges, Entity, Focusable, InteractiveElement, IntoElement, ParentElement, Pixels, - Render, SharedString, Styled, Timer, Window, + ClickEvent, Context, Edges, Entity, Focusable, InteractiveElement, IntoElement, ParentElement, + Pixels, Render, SharedString, StatefulInteractiveElement, Styled, Timer, Window, }; use gpui_component::{ button::Button, @@ -376,6 +376,22 @@ impl TableDelegate for StockTableDelegate { .menu("Size XSmall", Box::new(ChangeSize(Size::XSmall))) } + fn render_tr( + &self, + row_ix: usize, + _: &mut Window, + cx: &mut Context