Skip to content

Commit 07a4019

Browse files
madsrasmusseniOvergaard
authored andcommitted
docs: add story for readonly uui-range-slider
1 parent 9918cc3 commit 07a4019

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/uui-range-slider/lib/uui-range-slider.story.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default {
1717
maxGap: undefined,
1818
value: '0,20',
1919
disabled: false,
20+
readonly: false,
2021
error: false,
2122
hideStepValues: false,
2223
label: 'range',
@@ -41,6 +42,7 @@ const Template: Story = props => html`
4142
max-gap=${ifDefined(props.maxGap)}
4243
value=${ifDefined(props.value)}
4344
?disabled=${props.disabled}
45+
?readonly=${props.readonly}
4446
?error=${props.error}
4547
?hide-step-values="${props.hideStepValues}"
4648
label="${props.label}"></uui-range-slider>
@@ -59,3 +61,8 @@ export const Disabled = Template.bind({});
5961
Disabled.args = {
6062
disabled: true,
6163
};
64+
65+
export const Readonly = Template.bind({});
66+
Readonly.args = {
67+
readonly: true,
68+
};

0 commit comments

Comments
 (0)