Skip to content

Commit 0faf0ba

Browse files
authored
docs: Fix wrong close tag in code samples (#811)
1 parent 81c0a95 commit 0faf0ba

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const Selectable: Story = {
3535
parameters: {
3636
docs: {
3737
source: {
38-
code: `<uui-color-swatch selectable></uui-color-slider>`,
38+
code: `<uui-color-swatch selectable></uui-color-swatch>`,
3939
},
4040
},
4141
},
@@ -57,7 +57,7 @@ export const Disabled: Story = {
5757
parameters: {
5858
docs: {
5959
source: {
60-
code: `<uui-color-swatch disabled></uui-color-slider>`,
60+
code: `<uui-color-swatch disabled></uui-color-swatch>`,
6161
},
6262
},
6363
},
@@ -72,7 +72,7 @@ export const DisabledSelected: Story = {
7272
parameters: {
7373
docs: {
7474
source: {
75-
code: `<uui-color-swatch disabled selectable selected></uui-color-slider>`,
75+
code: `<uui-color-swatch disabled selectable selected></uui-color-swatch>`,
7676
},
7777
},
7878
},
@@ -87,7 +87,7 @@ export const WithLabel: Story = {
8787
parameters: {
8888
docs: {
8989
source: {
90-
code: `<uui-color-swatch label="This is the most beautiful color I've ever seen" show-label="true"></uui-color-slider>`,
90+
code: `<uui-color-swatch label="This is the most beautiful color I've ever seen" show-label="true"></uui-color-swatch>`,
9191
},
9292
},
9393
},
@@ -101,7 +101,7 @@ export const DifferentColorThanValue: Story = {
101101
parameters: {
102102
docs: {
103103
source: {
104-
code: `<uui-color-swatch value="color1" color="green"></uui-color-slider>`,
104+
code: `<uui-color-swatch value="color1" color="green"></uui-color-swatch>`,
105105
},
106106
},
107107
},
@@ -114,7 +114,7 @@ export const Transparent: Story = {
114114
parameters: {
115115
docs: {
116116
source: {
117-
code: `<uui-color-swatch color="rgba(53, 68, 177, 0.5)"></uui-color-slider>`,
117+
code: `<uui-color-swatch color="rgba(53, 68, 177, 0.5)"></uui-color-swatch>`,
118118
},
119119
},
120120
},

0 commit comments

Comments
 (0)