Stretch

<Stretch> is a helper component for resizing an image, or video for example to cover the remaining vertical space in a slide.

<script>
  import { Presentation, Slide, Stretch } from '@components'
</script>

<Presentation>
  <Slide>
    <Stretch
      class="mx-auto"
      src="svelte.png"
      type="img"
    />
  </Slide>
</Presentation>