Skip to content

Commit 8c32fc2

Browse files
committed
add disabled story to uui-select
1 parent 7ff83b8 commit 8c32fc2

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

packages/uui-select/lib/uui-select.story.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,24 @@ DisabledGroups.parameters = {
130130
},
131131
},
132132
};
133+
134+
export const Disabled: Story = props =>
135+
html`<uui-select
136+
.options=${groupedOptions}
137+
label="Label"
138+
.placeholder=${props.placeholder}
139+
.disabled=${props.disabled}></uui-select> `;
140+
141+
Disabled.args = {
142+
disabled: true,
143+
};
144+
145+
Disabled.parameters = {
146+
controls: { include: ['disabled'] },
147+
docs: {
148+
source: {
149+
code: `
150+
<uui-select disabled></uui-select>`,
151+
},
152+
},
153+
};

0 commit comments

Comments
 (0)