import "./selection_bar.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type ConfirmRequest } from "./alert"; import { type StyleProps } from "./style_props"; export interface SelectionBarProps extends StyleProps { /** The bar shows only while > 0. */ count: number; /** The whole phrase, a function because word order differs between languages. */ label: (count: number) => string; onClear: () => void; clearLabel?: string; /** Render each through `Toolbar.Button` (`