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 9379cc1 commit aec19fcCopy full SHA for aec19fc
packages/uui-slider/lib/uui-slider.story.ts
@@ -17,6 +17,7 @@ export default {
17
hideValueLabel: false,
18
value: 0,
19
disabled: false,
20
+ readonly: false,
21
},
22
argTypes: {
23
label: {
@@ -38,6 +39,7 @@ const Template: Story = props => html`
38
39
min=${props.min}
40
max=${props.max}
41
?disabled=${props.disabled}
42
+ ?readonly=${props.readonly}
43
.value=${props.value}
44
.hideStepValues=${props.hideStepValues}
45
.hideValueLabel=${props.hideValueLabel}></uui-slider>
@@ -72,3 +74,8 @@ export const Disabled = Template.bind({});
72
74
Disabled.args = {
73
75
disabled: true,
76
};
77
+
78
+export const Readonly = Template.bind({});
79
+Readonly.args = {
80
+ readonly: true,
81
+};
0 commit comments