change default value
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<Progress labelProgress="true" labelPosition="inside" progress="45"></Progress>
|
||||
<Progress labelProgress="true" labelPosition="inside" size="lg" progress="45"></Progress>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Progress } from '../../../../src/index'
|
||||
|
||||
@@ -51,7 +51,7 @@ Here is an example of using a progress bar with the label inside the bar.
|
||||
import { Progress } from 'flowbite-vue'
|
||||
</script>
|
||||
<template>
|
||||
<Progress labelProgress="true" labelPosition="inside" progress="45"></Progress>
|
||||
<Progress labelProgress="true" labelPosition="inside" size="lg" progress="45"></Progress>
|
||||
</template>
|
||||
```
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const props = defineProps({
|
||||
},
|
||||
labelPosition: {
|
||||
type: String, // 'inside' | 'outside' | 'none'
|
||||
default: 'inside',
|
||||
default: 'none',
|
||||
},
|
||||
labelProgress: {
|
||||
type: Boolean,
|
||||
@@ -43,7 +43,7 @@ const props = defineProps({
|
||||
},
|
||||
size: {
|
||||
type: String, // 'sm' | 'md' | 'lg' | 'xl'
|
||||
default: 'lg',
|
||||
default: 'md',
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user