File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
packages/uui-range-slider/lib Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export default {
17
17
maxGap : undefined ,
18
18
value : '0,20' ,
19
19
disabled : false ,
20
+ readonly : false ,
20
21
error : false ,
21
22
hideStepValues : false ,
22
23
label : 'range' ,
@@ -41,6 +42,7 @@ const Template: Story = props => html`
41
42
max-gap=${ ifDefined ( props . maxGap ) }
42
43
value=${ ifDefined ( props . value ) }
43
44
?disabled=${ props . disabled }
45
+ ?readonly=${ props . readonly }
44
46
?error=${ props . error }
45
47
?hide-step-values="${ props . hideStepValues } "
46
48
label="${ props . label } "> </ uui-range-slider >
@@ -59,3 +61,8 @@ export const Disabled = Template.bind({});
59
61
Disabled . args = {
60
62
disabled : true ,
61
63
} ;
64
+
65
+ export const Readonly = Template . bind ( { } ) ;
66
+ Readonly . args = {
67
+ readonly : true ,
68
+ } ;
You can’t perform that action at this time.
0 commit comments