CenteredView

A component to show other components at the center of view.

Choose an example

Usage

<script>
  import {CenteredView, HyperLink} from '@svizzle/ui';
</script>

<CenteredView>
  <HyperLink
    href='https://svelte.dev'
    theme={{
      color: 'magenta',
      iconStroke: 'green',
      iconStrokeWidth: 3,
    }}
    type='external'
  >
    Svelte website
  </HyperLink>
</CenteredView>

Props