+ {/* Hidden measurement copy, used to compute the visible/overflow split. */}
+
+ {plainSecondaries.map((action) =>
+ renderActionButton(action, size, "outline")
+ )}
+
+
+ {menuItems.length > 0 && (
+
+
+
+ )}
+
+ {cleanedTokens.map((token) =>
+ token.kind === "sep" ? (
+
+ ) : (
+ token.node
+ )
+ )}
+
+ {secondaryLink && renderSecondaryLink(secondaryLink, size)}
+
+
+ {splitSecondaries.map((action) =>
+ renderSplitButton(action, size, "outline")
+ )}
+ {dividerBeforePinned &&