Rewrite <Check /> as FC (#24901)
This commit is contained in:
		
					parent
					
						
							
								140aa6b054
							
						
					
				
			
			
				commit
				
					
						6fdbee240c
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										9
									
								
								app/javascript/mastodon/components/check.tsx
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								app/javascript/mastodon/components/check.tsx
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,9 @@ | |||
| import React from 'react'; | ||||
| 
 | ||||
| export const Check: React.FC = () => ( | ||||
|   <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'> | ||||
|     <path fillRule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clipRule='evenodd' /> | ||||
|   </svg> | ||||
| ); | ||||
| 
 | ||||
| export default Check; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue