@@ -9,33 +9,33 @@ export const componentConfig = {
9
9
) ,
10
10
codeHtml : `<div class="space-y-4 mx-auto">
11
11
<details class="border-2 border-black shadow-md hover:shadow-sm transition-all overflow-hidden">
12
- <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
13
- Accordion Item 1
14
- </summary>
15
- <div class="px-4 py-2 font-body bg-white text-gray-700">
16
- This is the content of the first accordion item. It is styled with
17
- Tailwind CSS.
18
- </div>
12
+ <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
13
+ Accordion Item 1
14
+ </summary>
15
+ <div class="px-4 py-2 font-body bg-white text-gray-700">
16
+ This is the content of the first accordion item. It is styled with
17
+ Tailwind CSS.
18
+ </div>
19
19
</details>
20
20
21
21
<details class="border-2 border-black shadow-md hover:shadow-sm transition-all overflow-hidden">
22
- <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
23
- Accordion Item 2
24
- </summary>
25
- <div class="px-4 py-2 font-body bg-white text-gray-700">
26
- This is the content of the second accordion item. It has a similar
27
- style to maintain consistency.
28
- </div>
22
+ <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
23
+ Accordion Item 2
24
+ </summary>
25
+ <div class="px-4 py-2 font-body bg-white text-gray-700">
26
+ This is the content of the second accordion item. It has a similar
27
+ style to maintain consistency.
28
+ </div>
29
29
</details>
30
30
31
31
<details class="border-2 border-black shadow-md hover:shadow-sm transition-all overflow-hidden">
32
- <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
33
- Accordion Item 3
34
- </summary>
35
- <div class="px-4 py-2 font-body bg-white text-gray-700">
36
- This is the content of the third accordion item. The details element
37
- handles the toggle behavior.
38
- </div>
32
+ <summary class="px-4 py-2 font-head text-black cursor-pointer focus:outline-none">
33
+ Accordion Item 3
34
+ </summary>
35
+ <div class="px-4 py-2 font-body bg-white text-gray-700">
36
+ This is the content of the third accordion item. The details element
37
+ handles the toggle behavior.
38
+ </div>
39
39
</details>
40
40
</div>` ,
41
41
} ,
@@ -55,6 +55,20 @@ export const componentConfig = {
55
55
preview : lazy ( ( ) => import ( "@/preview/components/badge-style-default" ) ) ,
56
56
codeHtml : `<span className="border-black text-black border-2 px-2 py-1 text-sm">
57
57
Badge
58
+ </span>` ,
59
+ } ,
60
+ "badge-style-success" : {
61
+ name : "badge-style-default" ,
62
+ preview : lazy ( ( ) => import ( "@/preview/components/badge-style-success" ) ) ,
63
+ codeHtml : `<span className="border-green-600 text-green-600 bg-green-50 border-2 px-2 py-1 text-sm">
64
+ Badge
65
+ </span>` ,
66
+ } ,
67
+ "badge-style-error" : {
68
+ name : "badge-style-default" ,
69
+ preview : lazy ( ( ) => import ( "@/preview/components/badge-style-error" ) ) ,
70
+ codeHtml : `<span className="border-red-600 text-red-600 bg-red-50 border-2 px-2 py-1 text-sm">
71
+ Badge
58
72
</span>` ,
59
73
} ,
60
74
"button-style-default" : {
0 commit comments