import { sendCustomEvent } from '@nx/nx-dev/feature-analytics'; export const GithubIcon = (props: any) => { return ( ); }; export function GitHubStarWidget({ starsCount }: { starsCount: number }) { const formatStars = (count: number) => { if (count >= 1000) { return (count / 1000).toFixed(1) + 'k'; } else { return count; } }; const handleClick = (eventAction: string) => { sendCustomEvent( eventAction, 'githubstars-toc-sidebar', 'githubstarswidget' ); }; return (
); }