27 lines
568 B
Vue
27 lines
568 B
Vue
<template>
|
|
<DocSectionText v-bind="$attrs">
|
|
<p>ProgressBar is used with the <i>value</i> property.</p>
|
|
</DocSectionText>
|
|
<div class="card">
|
|
<ProgressBar :value="50"></ProgressBar>
|
|
</div>
|
|
<DocSectionCode :code="code" />
|
|
</template>
|
|
|
|
<script setup>
|
|
import ProgressBar from '@/volt/progressbar';
|
|
import { ref } from 'vue';
|
|
|
|
const code = ref(`
|
|
<template>
|
|
<div class="card">
|
|
<ProgressBar :value="50"></ProgressBar>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import ProgressBar from '@/volt/progressbar';
|
|
<\/script>
|
|
`);
|
|
</script>
|