We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3778ad8 commit f04c683Copy full SHA for f04c683
src/components/progress/CProgress.ts
@@ -10,14 +10,23 @@ const CProgress = defineComponent({
10
default: undefined,
11
required: false,
12
},
13
+ /**
14
+ * Makes progress bar thinner.
15
+ */
16
+ thin: Boolean,
17
...CProgressBar.props,
18
19
setup(props, { slots }) {
20
return () =>
21
h(
22
'div',
23
{
- class: 'progress',
24
+ class: [
25
+ 'progress',
26
+ {
27
+ 'progress-thin': props.thin,
28
+ },
29
+ ],
30
...(props.height, { style: `height: ${props.height}px` }),
31
32
props.value
0 commit comments