import "./inline_button.css"; import type * as React from "react"; import { Button as Base } from "@base-ui/react/button"; import { type StyleProps, type TriggerProps } from "./style_props"; export interface InlineButtonProps extends StyleProps, TriggerProps { /** The verb, as a word. An inline button is never icon-only — it sits on a * crowded value where a bare glyph reads as decoration on the field. */ title: string; onPress: () => void; /** Announced name, when the surrounding value makes `title` ambiguous * ("Open" → "Open customer"). Defaults to `title`. */ accessibilityLabel?: string; tooltip?: string; disabled?: boolean; testID?: string; ref?: React.Ref; render?: Base.Props["render"]; } /** * A verb that lives INSIDE an inline field's surface — the Open on a reference, * the Copy on a value worth copying — rather than in the row's trailing column, * so it travels with what it acts on. The kit's `Button` cannot serve here, being * the full 40px control height that this sits inside. * * **It stops propagation.** That is the contract, not the styling: an inline * button sits on a surface that is itself pressable, so without this every press * would fire both. */ export declare function InlineButton({ title, onPress, accessibilityLabel, tooltip, disabled, testID, render, ref, className, style, ...trigger }: InlineButtonProps): React.JSX.Element;