// @flow import { SEARCH_OPTIONS } from 'constants/search'; import * as ICONS from 'constants/icons'; import React from 'react'; import { Form, FormField } from 'component/common/form'; import Button from 'component/button'; type Props = { setSearchOption: (string, boolean | string | number) => void, options: {}, expanded: boolean, toggleSearchExpanded: () => void, }; const SearchOptions = (props: Props) => { const { options, setSearchOption, expanded, toggleSearchExpanded } = props; const resultCount = options[SEARCH_OPTIONS.RESULT_COUNT]; return (