SourceCode renders a link to repository source code.
SourceCode
interface SourceCodeProps { /** Source code link */ href: string; /** Code hosting platform, determines which icon to display */ platform?: 'github' | 'gitlab'; }
Use platform to switch the icon between GitHub and GitLab. Defaults to 'github'.
platform
'github'