Skip to content

Commit 2aaa94c

Browse files
committed
Add no swatches story
1 parent 04abc4f commit 2aaa94c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/uui-color-picker/lib/uui-color-picker.story.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ export const Readonly: Story = {
8383
readonly: true,
8484
},
8585
};
86+
87+
export const NoSwatches: Story = {
88+
args: {
89+
swatches: [],
90+
},
91+
};

packages/uui-color-swatches/lib/uui-color-swatches.story.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,9 @@ export const Gradient: Story = {
122122
value: 'lemon-twist',
123123
},
124124
};
125+
126+
export const NoSwatches: Story = {
127+
args: {
128+
swatches: [],
129+
},
130+
};

0 commit comments

Comments
 (0)