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
				
			
		|  | @ -3,6 +3,8 @@ import { PureComponent } from 'react'; | |||
| 
 | ||||
| import { FormattedMessage } from 'react-intl'; | ||||
| 
 | ||||
| import { ReactComponent as DeleteForeverIcon } from '@material-symbols/svg-600/outlined/delete_forever.svg'; | ||||
| 
 | ||||
| import { Icon }  from 'mastodon/components/icon'; | ||||
| 
 | ||||
| export default class ClearColumnButton extends PureComponent { | ||||
|  | @ -13,7 +15,7 @@ export default class ClearColumnButton extends PureComponent { | |||
| 
 | ||||
|   render () { | ||||
|     return ( | ||||
|       <button className='text-btn column-header__setting-btn' tabIndex={0} onClick={this.props.onClick}><Icon id='eraser' /> <FormattedMessage id='notifications.clear' defaultMessage='Clear notifications' /></button> | ||||
|       <button className='text-btn column-header__setting-btn' tabIndex={0} onClick={this.props.onClick}><Icon id='eraser' icon={DeleteForeverIcon} /> <FormattedMessage id='notifications.clear' defaultMessage='Clear notifications' /></button> | ||||
|     ); | ||||
|   } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue