change default value
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
@@ -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>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user