Change icons in web UI (#27385)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								b1885387b6
							
						
					
				
			
			
				commit
				
					
						134de736dc
					
				
			
		
					 123 changed files with 927 additions and 725 deletions
				
			
		|  | @ -8,6 +8,9 @@ import { NavLink, Switch, Route } from 'react-router-dom'; | |||
| 
 | ||||
| import { connect } from 'react-redux'; | ||||
| 
 | ||||
| import { ReactComponent as SearchIcon } from '@material-symbols/svg-600/outlined/search.svg'; | ||||
| import { ReactComponent as TagIcon } from '@material-symbols/svg-600/outlined/tag.svg'; | ||||
| 
 | ||||
| import Column from 'mastodon/components/column'; | ||||
| import ColumnHeader from 'mastodon/components/column_header'; | ||||
| import Search from 'mastodon/features/compose/containers/search_container'; | ||||
|  | @ -57,6 +60,7 @@ class Explore extends PureComponent { | |||
|       <Column bindToDocument={!multiColumn} ref={this.setRef} label={intl.formatMessage(messages.title)}> | ||||
|         <ColumnHeader | ||||
|           icon={isSearching ? 'search' : 'hashtag'} | ||||
|           iconComponent={isSearching ? SearchIcon : TagIcon} | ||||
|           title={intl.formatMessage(isSearching ? messages.searchResults : messages.title)} | ||||
|           onClick={this.handleHeaderClick} | ||||
|           multiColumn={multiColumn} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue