diff options
Diffstat (limited to 'server/sonar-web/src/main/js/components/facet/FacetFooter.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/components/facet/FacetFooter.tsx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/server/sonar-web/src/main/js/components/facet/FacetFooter.tsx b/server/sonar-web/src/main/js/components/facet/FacetFooter.tsx deleted file mode 100644 index 8879f11264f..00000000000 --- a/server/sonar-web/src/main/js/components/facet/FacetFooter.tsx +++ /dev/null @@ -1,38 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2018 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -import * as React from 'react'; -import SearchSelect from '../controls/SearchSelect'; - -type Option = { label: string; value: string }; - -interface Props { - minimumQueryLength?: number; - onSearch: (query: string) => Promise<Option[]>; - onSelect: (option: Option) => void; - renderOption?: (option: Object) => JSX.Element; -} - -export default function FacetFooter(props: Props) { - return ( - <div className="search-navigator-facet-footer"> - <SearchSelect autofocus={false} {...props} /> - </div> - ); -} |