add missing play button onto title combined image

This commit is contained in:
jeffvli
2025-12-04 18:03:26 -08:00
parent b66530f8fd
commit 8c545f6d21
4 changed files with 209 additions and 7 deletions
@@ -87,9 +87,20 @@ const TooltipLabel = ({ label }: { label: React.ReactNode | string; type: Play }
);
};
export const PlayTooltip = ({ children, type }: { children: React.ReactNode; type: Play }) => {
export const PlayTooltip = ({
children,
disabled,
type,
}: {
children: React.ReactNode;
disabled?: boolean;
type: Play;
}) => {
return (
<Tooltip label={<TooltipLabel label={PLAY_BEHAVIOR_TO_LABEL[type]} type={type} />}>
<Tooltip
disabled={disabled}
label={<TooltipLabel label={PLAY_BEHAVIOR_TO_LABEL[type]} type={type} />}
>
{children}
</Tooltip>
);