plane/apps/app/components/integration/github/issues-select.tsx
guru_sainath 2f2caaaf6e
Feat: Github importer to sync issues, users, and labels with workspace projects. (#509)
* Dev: Github integration with issues and layout integration

* dev: Github Integration route and UI configuration
2023-03-23 23:27:11 +05:30

28 lines
873 B
TypeScript

import { FC } from "react";
// types
import { IIntegrationData } from "components/integration";
type Props = { state: IIntegrationData; handleState: (key: string, valve: any) => void };
export const GithubIssuesSelect: FC<Props> = ({ state, handleState }) => (
<div>
<div>Issues Select</div>
<div className="mt-5 flex items-center justify-between">
<button
type="button"
className={`rounded-sm bg-gray-300 px-3 py-1.5 text-sm transition-colors hover:bg-opacity-80`}
onClick={() => handleState("state", "import-import-data")}
>
Back
</button>
<button
type="button"
className={`rounded-sm bg-theme px-3 py-1.5 text-sm text-white transition-colors hover:bg-opacity-80`}
onClick={() => handleState("state", "migrate-users")}
>
Next
</button>
</div>
</div>
);