// @flow import * as ICONS from 'constants/icons'; import React from 'react'; import Button from 'component/button'; import Icon from 'component/common/icon'; type Props = { host: string, port: string, available: boolean, index: number, remove: number => void, }; function ServerDisplayRow(props: Props) { const { host, port, available, index, remove } = props; return (