-
{item?.label}
-
-
-
- {item?.textContent || openFormsEmbed.textContent}
-
-
-
- );
- }
+export const LogoButton = ({ item, headingLevel = 3, withDesignSystem = false }: LogoButtonProps) => {
+ const embedData = parseOpenFormsEmbed(item.openFormsEmbed);
+ const finalHref = embedData?.href || item.href || '';
+ const finalText = item?.textContent || embedData?.textContent || '';
+ const finalLabel = item?.label || embedData?.textContent || '';
+
+ if (withDesignSystem) {
return (