mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
21 lines
453 B
TypeScript
21 lines
453 B
TypeScript
import React from 'react';
|
|
import { GhButton, DocButton, ReleaseButton } from './button';
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
repo: string;
|
|
docs?: string;
|
|
}
|
|
|
|
const ResourceLinks = ({ repo, docs }: Props) => {
|
|
return (
|
|
<div className="flex flex-wrap gap-1">
|
|
<GhButton link={repo} />
|
|
<ReleaseButton link={`${repo}/releases`} />
|
|
{docs && <DocButton link={docs} />}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ResourceLinks;
|