mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	 582a64598c
			
		
	
	582a64598c
	
	
	
		
			
			* delete learn link, update links * update documentation * update test * Update ui/app/templates/components/wizard/replication-setup.hbs
		
			
				
	
	
		
			22 lines
		
	
	
		
			700 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			700 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import Component from '@glimmer/component';
 | |
| 
 | |
| /**
 | |
|  * @module ExternalLinkComponent
 | |
|  * `ExternalLink` components are used to render anchor links to non-cluster links. Automatically opens in a new tab with noopener noreferrer.
 | |
|  *  To link to developer.hashicorp.com, use DocLink .
 | |
|  *
 | |
|  * @example
 | |
|  * ```js
 | |
|     <ExternalLink @href="https://hashicorp.com">Arbitrary Link</ExternalLink>
 | |
|  * ```
 | |
|  *
 | |
|  * @param {string} href="https://example.com/" - The full href with protocol
 | |
|  * @param {boolean} [sameTab=false] - by default, these links open in new tab. To override, pass @sameTab={{true}}
 | |
|  *
 | |
|  */
 | |
| export default class ExternalLinkComponent extends Component {
 | |
|   get href() {
 | |
|     return this.args.href;
 | |
|   }
 | |
| }
 |