mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-04 04:44:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			581 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			581 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { Tooltip } from "@excalidraw/excalidraw/components/Tooltip";
 | 
						|
import { shield } from "@excalidraw/excalidraw/components/icons";
 | 
						|
import { useI18n } from "@excalidraw/excalidraw/i18n";
 | 
						|
 | 
						|
export const EncryptedIcon = () => {
 | 
						|
  const { t } = useI18n();
 | 
						|
 | 
						|
  return (
 | 
						|
    <a
 | 
						|
      className="encrypted-icon tooltip"
 | 
						|
      href="https://plus.excalidraw.com/blog/end-to-end-encryption"
 | 
						|
      target="_blank"
 | 
						|
      rel="noopener"
 | 
						|
      aria-label={t("encrypted.link")}
 | 
						|
    >
 | 
						|
      <Tooltip label={t("encrypted.tooltip")} long={true}>
 | 
						|
        {shield}
 | 
						|
      </Tooltip>
 | 
						|
    </a>
 | 
						|
  );
 | 
						|
};
 |