// @flow

import React, {Component} from 'react'

import type {IconType} from '../../common-adapters/icon'
import type {SearchResult, SearchPlatforms} from '../../constants/search'

export type SearchResultFn = (searchResult: SearchResult) => void
export type ServiceFn = (serviceName: SearchPlatforms) => void

export type Props = {
  searchHintText: string,
  searchText: ?string,
  searchIcon: IconType,
  selectedService: ?SearchPlatforms,
  results: Array<SearchResult>,
  onClickService: ServiceFn,
  onClickResult: SearchResultFn,
  onSearch: (text: string) => void,
  waiting: boolean,
}

export default class Render extends Component<void, Props, void> { }
