Skip to content

Commit b01b447

Browse files
fix(menu): add standard story for picker chromatic view
1 parent 00b00f2 commit b01b447

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

components/menu/stories/menu.stories.js

+15
Original file line numberDiff line numberDiff line change
@@ -626,3 +626,18 @@ MenuItemOnly.argTypes = {
626626
if: { arg: "hasItemDescription", truthy: true },
627627
},
628628
};
629+
630+
export const Standard = Template.bind({});
631+
Standard.storyName = "Standard with Dividers";
632+
Standard.args = {
633+
items: [
634+
{ label: "Deselect" },
635+
{ label: "Select inverse" },
636+
{ label: "Feather" },
637+
{ label: "Select and mask" },
638+
{ type: "divider" },
639+
{ label: "Save selection" },
640+
{ label: "Make work path", isDisabled: true },
641+
],
642+
hasDividers: true,
643+
};

components/picker/stories/picker.stories.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { html } from "lit";
22

3-
import { Default as MenuStories } from "@spectrum-css/menu/stories/menu.stories.js";
3+
import { Standard as MenuStories } from "@spectrum-css/menu/stories/menu.stories.js";
44

55
import { Template } from "./template";
66

0 commit comments

Comments
 (0)