- {(leftContent && (
-
{leftContent}
- )) || (
-
- {prev_href && (
-
-
-
- )}
-
- {next_href && (
-
-
-
- )}
-
- )}
- {rightContent && (
-
{rightContent}
- )}
+ {(hasNavAttributes && (
+ <>
+
+ {prev_href && (
+
+
+
+ )}
+ {next_href && (
+
+
+
+ )}
+
+
{children}
+ >
+ )) ||
+ children}