diff --git a/x-pack/legacy/plugins/code/public/components/integrations/index.tsx b/x-pack/legacy/plugins/code/public/components/integrations/index.tsx index 5cc5bcdcbfe39..25eeb6fbe1a2a 100644 --- a/x-pack/legacy/plugins/code/public/components/integrations/index.tsx +++ b/x-pack/legacy/plugins/code/public/components/integrations/index.tsx @@ -11,8 +11,14 @@ import { CodeBlock } from '../codeblock/codeblock'; import { history } from '../../utils/url'; import { FrameHeader } from './frame_header'; import { RepoTitle } from './repo_title'; +import { CodeIntegrator } from './code_integrator'; import { externalFileURI } from './helpers'; -import { frames, results } from './data'; +import { frames, Frame, repos, results } from './data'; + +const associateToService = (frame: Frame) => (repo: string) => + alert(`repo ${repo} associated with service ${JSON.stringify(frame)}`); + +const handleImport = (repo: string) => alert(`import done: ${repo}`); export const Integrations = () => (
@@ -53,6 +59,11 @@ export const Integrations = () => ( at line {lineNumber} +
);