<script lang="ts">
  export let text : string 
  export let href : string 
  export let classnames : string = undefined
  export let download : string = undefined
  export let ariaLabel : string = undefined
  
  export let newTab: boolean = false
</script>

<a {href} aria-label={ariaLabel} target={newTab ? "_blank" : undefined} {download} class={classnames}>
  {@html text}</a>
