({
kind = 'installer',
children,
})
| 11 | type DownloadLinkProps = { kind?: DownloadKind }; |
| 12 | |
| 13 | const DownloadLink: FC<PropsWithChildren<DownloadLinkProps>> = ({ |
| 14 | kind = 'installer', |
| 15 | children, |
| 16 | }) => { |
| 17 | const { release } = use(ReleaseContext); |
| 18 | |
| 19 | return ( |
| 20 | <DownloadLinkBase release={release} kind={kind}> |
| 21 | {children} |
| 22 | </DownloadLinkBase> |
| 23 | ); |
| 24 | }; |
| 25 | |
| 26 | export default DownloadLink; |
nothing calls this directly
no outgoing calls
no test coverage detected