+
+
+
+
+ savePreferredVersionName(latestVersionSuggestion.name)}
+ />
+
+
+ );
+}
+
+export default function DocVersionBanner({
+ className,
+}: Props): JSX.Element | null {
+ const versionMetadata = useDocsVersion();
+ if (versionMetadata.banner) {
+ return (
+