@@ -4,6 +4,7 @@ export const componentConfig = {
44 registry : {
55 "accordion-style-default" : {
66 name : "accordion-style-default" ,
7+ filePath : "preview/components/accordion-style-default.tsx" ,
78 preview : lazy (
89 ( ) => import ( "@/preview/components/accordion-style-default" )
910 ) ,
@@ -41,6 +42,7 @@ export const componentConfig = {
4142 } ,
4243 "avatar-style-circle" : {
4344 name : "avatar-style-circle" ,
45+ filePath : "preview/components/avatar-style-circle.tsx" ,
4446 preview : lazy ( ( ) => import ( "@/preview/components/avatar-style-circle" ) ) ,
4547 codeHtml : `<div className="inline-block w-14 h-14 border-2 border-black rounded-full overflow-hidden">
4648 <img
@@ -52,41 +54,44 @@ export const componentConfig = {
5254 } ,
5355 "badge-style-default" : {
5456 name : "badge-style-default" ,
57+ filePath : "preview/components/badge-style-default.tsx" ,
5558 preview : lazy ( ( ) => import ( "@/preview/components/badge-style-default" ) ) ,
5659 codeHtml : `<span className="border-black text-black border-2 px-2 py-1 text-sm">
5760 Badge
5861</span>` ,
5962 } ,
6063 "badge-style-success" : {
6164 name : "badge-style-default" ,
65+ filePath : "preview/components/badge-style-success.tsx" ,
6266 preview : lazy ( ( ) => import ( "@/preview/components/badge-style-success" ) ) ,
6367 codeHtml : `<span className="border-2 border-green-600 text-green-600 px-2.5 py-1 text-sm">
6468 Badge
6569</span>` ,
6670 } ,
6771 "badge-style-error" : {
6872 name : "badge-style-default" ,
73+ filePath : "preview/components/badge-style-error.tsx" ,
6974 preview : lazy ( ( ) => import ( "@/preview/components/badge-style-error" ) ) ,
7075 codeHtml : `<span className="border-2 border-red-600 text-red-600 px-2.5 py-1 text-sm">
7176 Badge
7277</span>` ,
7378 } ,
7479 "badge-style-filled" : {
7580 name : "badge-style-default" ,
81+ filePath : "preview/components/badge-style-filled.tsx" ,
7682 preview : lazy ( ( ) => import ( "@/preview/components/badge-style-filled" ) ) ,
7783 codeHtml : `<span className="border-2 bg-primary-400 border-black text-black px-2.5 py-1 text-sm">
7884 Badge
7985</span>` ,
8086 } ,
8187 "button-style-default" : {
8288 name : "button-style-default" ,
89+ filePath : "preview/components/button-style-default.tsx" ,
8390 preview : lazy ( ( ) => import ( "@/preview/components/button-style-default" ) ) ,
84- codeHtml : `<button className="bg-primary-400 text-black px-6 py-2 text-base font-head border-2 border-black shadow-md hover:shadow-xs hover:bg-primary-500 transition-all">
85- Click Me!
86- </button>` ,
8791 } ,
8892 "card-style-default" : {
8993 name : "card-style-default" ,
94+ filePath : "preview/components/card-style-default.tsx" ,
9095 preview : lazy ( ( ) => import ( "@/preview/components/card-style-default" ) ) ,
9196 codeHtml : `<div className="inline-block border-2 border-black p-4 shadow-md cursor-pointer transition-all hover:shadow-xs">
9297 <h4 className="font-head text-2xl font-medium mb-1">This is card Title</h4>
@@ -95,6 +100,7 @@ export const componentConfig = {
95100 } ,
96101 "input-style-default" : {
97102 name : "input-style-default" ,
103+ filePath : "preview/components/input-style-default.tsx" ,
98104 preview : lazy ( ( ) => import ( "@/preview/components/input-style-default" ) ) ,
99105 codeHtml : `<input
100106 type="text"
@@ -104,6 +110,7 @@ export const componentConfig = {
104110 } ,
105111 "textarea-style-default" : {
106112 name : "textarea-style-default" ,
113+ filePath : "preview/components/textarea-style-default.tsx" ,
107114 preview : lazy (
108115 ( ) => import ( "@/preview/components/textarea-style-default" )
109116 ) ,
@@ -115,6 +122,7 @@ export const componentConfig = {
115122 } ,
116123 "typography-headings" : {
117124 name : "typography-headings" ,
125+ filePath : "preview/components/typography-headings.tsx" ,
118126 preview : lazy ( ( ) => import ( "@/preview/components/typography-headings" ) ) ,
119127 codeHtml : `<div className="space-y-4">
120128 <h1 className="font-head text-5xl lg:text-6xl font-bold">This is H1</h1>
@@ -127,6 +135,7 @@ export const componentConfig = {
127135 } ,
128136 "typography-p" : {
129137 name : "typography-p" ,
138+ filePath : "preview/components/typography-p.tsx" ,
130139 preview : lazy ( ( ) => import ( "@/preview/components/typography-p" ) ) ,
131140 codeHtml : `<p className="font-sans">
132141 Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quaerat eos,
0 commit comments