"use client"; import { memo } from "react"; export interface InlineTextButtonProps { /** * Button label content. */ children: React.ReactNode; /** * Click handler. */ onClick?: (_event: React.MouseEvent) => void; /** * Extra class names. Use `className` to override typography/color when the * button must inherit parent font-size/leading (e.g. mid-paragraph usage). */ className?: string; disabled?: boolean; ariaLabel?: string; type?: "button" | "submit" | "reset"; /** When set, removes the default underline (e.g. inverse surfaces). */ underline?: boolean; "data-testid"?: string; } /** * Small text-styled button for in-paragraph "link"-like controls (expand, * add, etc.). The Figma "link" treatment is a tertiary-colored underline with * a 3px underline-offset and inherited typography, which sits between a real * anchor and a styled `Button`. * * Use this anywhere a ` ); } InlineTextButtonComponent.displayName = "InlineTextButton"; export default memo(InlineTextButtonComponent);