import {InlineLink, Stack, Text} from '@primer/react-brand' import {BookIcon, MarkGithubIcon} from '@primer/octicons-react' import React from 'react' import styles from './SourceLink.module.css' type SourceLinkProps = { type: 'github' | 'storybook' | 'figma' href: string } export function SourceLink({href, type}: SourceLinkProps) { return (
{type === 'github' ? : null} {type === 'storybook' ? : null} {type === 'figma' ? : null} {type === 'github' ? ( GitHub ) : null} {type === 'storybook' ? ( Storybook ) : null} {type === 'figma' ? ( Figma ) : null}
) } function FigmaLogo({className}: {className?: string}) { return ( ) }