import React from 'react'; import type { Option } from 'react-select'; import { BaseBuildTriggerTemplate } from '../baseBuild/BaseBuildTriggerTemplate'; import { BuildServiceType } from '../../../../ci'; import type { ITriggerTemplateComponentProps } from '../../../manualExecution/TriggerTemplate'; import { timestamp } from '../../../../utils/timeFormatters'; export class ConcourseTriggerTemplate extends React.Component { private optionRenderer = (build: Option) => { return ( Build {build.number} {build.name} ({timestamp(build.timestamp)}) ); }; public static formatLabel = BaseBuildTriggerTemplate.formatLabel; public render() { return ( ); } }