@@ -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,47 @@ 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" ) ) ,
8491 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">
8592 Click Me!
8693</button>` ,
8794 } ,
8895 "card-style-default" : {
8996 name : "card-style-default" ,
97+ filePath : "preview/components/card-style-default.tsx" ,
9098 preview : lazy ( ( ) => import ( "@/preview/components/card-style-default" ) ) ,
9199 codeHtml : `<div className="inline-block border-2 border-black p-4 shadow-md cursor-pointer transition-all hover:shadow-xs">
92100 <h4 className="font-head text-2xl font-medium mb-1">This is card Title</h4>
@@ -95,6 +103,7 @@ export const componentConfig = {
95103 } ,
96104 "input-style-default" : {
97105 name : "input-style-default" ,
106+ filePath : "preview/components/input-style-default.tsx" ,
98107 preview : lazy ( ( ) => import ( "@/preview/components/input-style-default" ) ) ,
99108 codeHtml : `<input
100109 type="text"
@@ -104,6 +113,7 @@ export const componentConfig = {
104113 } ,
105114 "textarea-style-default" : {
106115 name : "textarea-style-default" ,
116+ filePath : "preview/components/textarea-style-default.tsx" ,
107117 preview : lazy (
108118 ( ) => import ( "@/preview/components/textarea-style-default" )
109119 ) ,
@@ -115,6 +125,7 @@ export const componentConfig = {
115125 } ,
116126 "typography-headings" : {
117127 name : "typography-headings" ,
128+ filePath : "preview/components/typography-headings.tsx" ,
118129 preview : lazy ( ( ) => import ( "@/preview/components/typography-headings" ) ) ,
119130 codeHtml : `<div className="space-y-4">
120131 <h1 className="font-head text-5xl lg:text-6xl font-bold">This is H1</h1>
@@ -127,6 +138,7 @@ export const componentConfig = {
127138 } ,
128139 "typography-p" : {
129140 name : "typography-p" ,
141+ filePath : "preview/components/typography-p.tsx" ,
130142 preview : lazy ( ( ) => import ( "@/preview/components/typography-p" ) ) ,
131143 codeHtml : `<p className="font-sans">
132144 Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quaerat eos,
0 commit comments