1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { Paper, StyleRulesCallback, withStyles, WithStyles, List } from '@material-ui/core';
7 import { RenderRecentQueries } from '~/views-components/search-bar/search-bar-view';
9 type CssRules = 'list';
11 const styles: StyleRulesCallback<CssRules> = theme => {
19 interface SearchBarAutocompleteViewProps {
22 export const SearchBarAutocompleteView = withStyles(styles)(
23 ({ classes }: SearchBarAutocompleteViewProps & WithStyles<CssRules>) =>
25 <List component="nav" className={classes.list}>
26 <RenderRecentQueries text='AUTOCOMPLETE VIEW' />