// SPDX-License-Identifier: AGPL-3.0
import * as React from 'react';
-import { IconButton, StyleRulesCallback, withStyles, WithStyles, FormControl, InputLabel, Input, InputAdornment } from '@material-ui/core';
+import { IconButton, StyleRulesCallback, withStyles, WithStyles, FormControl, InputLabel, Input, InputAdornment, Tooltip } from '@material-ui/core';
import SearchIcon from '@material-ui/icons/Search';
type CssRules = 'container' | 'input' | 'button';
onChange={this.handleChange}
endAdornment={
<InputAdornment position="end">
- <IconButton
- onClick={this.handleSubmit}>
- <SearchIcon/>
- </IconButton>
+ <Tooltip title='Search'>
+ <IconButton
+ onClick={this.handleSubmit}>
+ <SearchIcon />
+ </IconButton>
+ </Tooltip>
</InputAdornment>
- }/>
+ } />
</FormControl>
</form>;
}