) => {
event.stopPropagation();
};
return (
onOverlayClick() : undefined}
>
);
}
export function PuzzleRuntimeDialogFooter({
children,
className,
framed = true,
}: PuzzleRuntimeDialogFooterProps) {
return (
);
}
export function PuzzleRuntimeDialogButton({
tone,
className = '',
type = 'button',
...buttonProps
}: PuzzleRuntimeDialogButtonProps) {
const toneClassName =
tone === 'primary'
? 'puzzle-runtime-primary-button'
: 'puzzle-runtime-secondary-button';
return (
);
}