import clsx from 'clsx' export function TweetButton(props: { className?: string; tweetText: string }) { const { tweetText, className } = props return (
Tweet
) } function getTweetHref(tweetText: string) { return `https://twitter.com/intent/tweet?text=${encodeURIComponent( tweetText ?? '' )}` }