import Layout from "@theme/Layout"; import React, { useRef, useState } from "react"; import { TwitterTweetEmbed } from "react-twitter-embed"; const CTA = () => { return ( {"Read the docs"} ); }; type Link = { path: string; url: string; alt: string; isSmall?: boolean; noFollow?: boolean; target?: string; subtitle?: string; }; const tweets: string[] = []; //"1522222259326406657" const renderLink = (link: Link, index: number) => { return ( {link.subtitle && ( {link.subtitle} )} ); }; const links: Link[] = []; const Home = () => { const contentRef = useRef(null); return ( Hello world ); }; export default Home;
{link.subtitle}