mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 02:44:50 +01:00 
			
		
		
		
	 d6cd8b78f1
			
		
	
	d6cd8b78f1
	
	
	
		
			
			* feat: decouple package deps and introduce yarn workspaces * update root directory * fix * fix scripts * fix lint * update path in scripts * remove yarn.lock files from packages * ignore workspace * dummy * dummy * remove comment check * revert workflow changes * ignore ws when installing gh actions * remove log * update path * fix * fix typo
		
			
				
	
	
		
			22 lines
		
	
	
		
			597 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			597 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { shield } from "../../packages/excalidraw/components/icons";
 | |
| import { Tooltip } from "../../packages/excalidraw/components/Tooltip";
 | |
| import { useI18n } from "../../packages/excalidraw/i18n";
 | |
| 
 | |
| export const EncryptedIcon = () => {
 | |
|   const { t } = useI18n();
 | |
| 
 | |
|   return (
 | |
|     <a
 | |
|       className="encrypted-icon tooltip"
 | |
|       href="https://blog.excalidraw.com/end-to-end-encryption/"
 | |
|       target="_blank"
 | |
|       rel="noopener noreferrer"
 | |
|       aria-label={t("encrypted.link")}
 | |
|     >
 | |
|       <Tooltip label={t("encrypted.tooltip")} long={true}>
 | |
|         {shield}
 | |
|       </Tooltip>
 | |
|     </a>
 | |
|   );
 | |
| };
 |