change default value

This commit is contained in:
hirakei1203
2022-10-29 11:31:17 +09:00
parent be84485c45
commit de032264fe
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<template> <template>
<Progress labelProgress="true" labelPosition="inside" progress="45"></Progress> <Progress labelProgress="true" labelPosition="inside" size="lg" progress="45"></Progress>
</template> </template>
<script setup> <script setup>
import { Progress } from '../../../../src/index' import { Progress } from '../../../../src/index'

View File

@@ -51,7 +51,7 @@ Here is an example of using a progress bar with the label inside the bar.
import { Progress } from 'flowbite-vue' import { Progress } from 'flowbite-vue'
</script> </script>
<template> <template>
<Progress labelProgress="true" labelPosition="inside" progress="45"></Progress> <Progress labelProgress="true" labelPosition="inside" size="lg" progress="45"></Progress>
</template> </template>
``` ```

View File

@@ -31,7 +31,7 @@ const props = defineProps({
}, },
labelPosition: { labelPosition: {
type: String, // 'inside' | 'outside' | 'none' type: String, // 'inside' | 'outside' | 'none'
default: 'inside', default: 'none',
}, },
labelProgress: { labelProgress: {
type: Boolean, type: Boolean,
@@ -43,7 +43,7 @@ const props = defineProps({
}, },
size: { size: {
type: String, // 'sm' | 'md' | 'lg' | 'xl' type: String, // 'sm' | 'md' | 'lg' | 'xl'
default: 'lg', default: 'md',
}, },
}) })