// @flow import React from 'react'; import * as ICONS from 'constants/icons'; import Button from 'component/button'; import classnames from 'classnames'; type Props = { onClick: (CommentServerDetails) => void, onRemove?: (CommentServerDetails) => void, active: boolean, serverDetails: CommentServerDetails, }; const InputTogglePanel = (props: Props) => { const { onClick, active, serverDetails, onRemove } = props; return (