mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
test
This commit is contained in:
@@ -15,6 +15,8 @@ export interface DialogFooterProps {
|
||||
navigationActions?: string;
|
||||
/** Exit shortcut (defaults to "Esc to cancel") */
|
||||
cancelAction?: string;
|
||||
/** Additional shortcuts to display */
|
||||
extraActions?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -25,11 +27,15 @@ export const DialogFooter: React.FC<DialogFooterProps> = ({
|
||||
primaryAction,
|
||||
navigationActions,
|
||||
cancelAction = 'Esc to cancel',
|
||||
extraActions,
|
||||
}) => {
|
||||
const parts = [primaryAction];
|
||||
if (navigationActions) {
|
||||
parts.push(navigationActions);
|
||||
}
|
||||
if (extraActions) {
|
||||
parts.push(...extraActions);
|
||||
}
|
||||
parts.push(cancelAction);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user