snowballtools-base/packages/frontend/src/components/projects/project/settings/GitSelectionSection.tsx
zramsay 17640d3133 Copy updates (#38)
Co-authored-by: zramsay <zach@bluecollarcoding.ca>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Reviewed-on: cerc-io/snowballtools-base#38
Co-authored-by: zramsay <zramsay@noreply.git.vdb.to>
Co-committed-by: zramsay <zramsay@noreply.git.vdb.to>
2024-11-14 09:10:19 +00:00

35 lines
763 B
TypeScript

import { GitSelect } from '../../../../types';
const GitSelectionSection = ({
gitSelectionHandler,
}: {
gitSelectionHandler: (git: GitSelect) => void;
}) => {
return (
<>
<div
className="flex gap-4 border-b-2 border-gray-200 cursor-pointer p-1"
onClick={() => {
gitSelectionHandler(GitSelect.GITHUB);
}}
>
<div>^</div>
<div className="grow">Github</div>
<div>{'>'}</div>
</div>
{/*
<div
className="flex gap-4 border-b-2 border-gray-200 cursor-pointer p-1"
onClick={() => {}}
>
<div>^</div>
<div className="grow">Gitea</div>
<div>{'>'}</div>
</div>
*/}
</>
);
};
export default GitSelectionSection;