Spinner component for Temir. Uses cli-spinners for the collection of spinners.
$ npm install @temir/spinner
<script lang="ts" setup>
import { TBox, TText } from '@temir/core'
import TSpinner from '@temir/spinner'
</script>
<template>
<TBox
:margin="5"
width="20"
border-style="round"
justify-content="center"
>
<TText>
<TText color="yellow">
<TSpinner />
</TText>
Loading
</TText>
</TBox>
</template>
Type: string
Defaults: dots
Type of a spinner. See cli-spinners for available spinners.