ui: Remove ToolStrip component (#24529)

This PR removes the `ToolStrip` component.

Pulling this change out of
https://github.com/zed-industries/zed/pull/24456.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-02-09 16:07:40 +00:00
committed by GitHub
parent 065fdcb86b
commit 072d2b061a
5 changed files with 0 additions and 97 deletions
@@ -1,33 +0,0 @@
use gpui::Render;
use story::{Story, StoryItem, StorySection};
use crate::{prelude::*, ToolStrip, Tooltip};
pub struct ToolStripStory;
impl Render for ToolStripStory {
fn render(&mut self, _window: &mut Window, _cx: &mut Context<Self>) -> impl IntoElement {
Story::container()
.child(Story::title_for::<ToolStrip>())
.child(
StorySection::new().child(StoryItem::new(
"Vertical Tool Strip",
h_flex().child(
ToolStrip::vertical("tool_strip_example")
.tool(
IconButton::new("example_tool", IconName::AudioOn)
.tooltip(Tooltip::text("Example tool")),
)
.tool(
IconButton::new("example_tool_2", IconName::MicMute)
.tooltip(Tooltip::text("Example tool 2")),
)
.tool(
IconButton::new("example_tool_3", IconName::Screen)
.tooltip(Tooltip::text("Example tool 3")),
),
),
)),
)
}
}