11import { lazy } from "react" ;
22
3- export const componentConfig = {
3+ export const componentConfig : {
4+ core : {
5+ [ key : string ] : {
6+ name : string ;
7+ filePath : string ;
8+ preview ?: React . LazyExoticComponent < ( ) => JSX . Element > ;
9+ } ;
10+ } ;
11+ examples : {
12+ [ key : string ] : {
13+ name : string ;
14+ filePath : string ;
15+ preview : React . LazyExoticComponent < ( ) => JSX . Element > ;
16+ } ;
17+ } ;
18+ } = {
419 core : {
520 accordion : {
621 name : "accordion" ,
@@ -38,6 +53,10 @@ export const componentConfig = {
3853 name : "menu" ,
3954 filePath : "packages/ui/Menu/Menu.tsx" ,
4055 } ,
56+ radio : {
57+ name : "radio" ,
58+ filePath : "packages/ui/Form/Radio.tsx" ,
59+ } ,
4160 text : {
4261 name : "text" ,
4362 filePath : "packages/ui/Text/Text.tsx" ,
@@ -163,9 +182,11 @@ export const componentConfig = {
163182 filePath : "preview/components/checkbox-style-sizes.tsx" ,
164183 preview : lazy ( ( ) => import ( "@/preview/components/checkbox-style-sizes" ) ) ,
165184 } ,
166- "dropdown-style-default" : {
167- name : "dropdown-style-default" ,
168- } ,
185+ // "dropdown-style-default": {
186+ // name: "dropdown-style-default",
187+ // filePath: "preview/components/dropdown-style-default.tsx",
188+ // preview: lazy(() => import("@/preview/components/dropdown-style-default")),
189+ // },
169190 "input-style-default" : {
170191 name : "input-style-default" ,
171192 filePath : "preview/components/input-style-default.tsx" ,
@@ -176,6 +197,21 @@ export const componentConfig = {
176197 filePath : "preview/components/menu-style-default.tsx" ,
177198 preview : lazy ( ( ) => import ( "@/preview/components/menu-style-default" ) ) ,
178199 } ,
200+ "radio-style-default" : {
201+ name : "radio-style-default" ,
202+ filePath : "preview/components/radio-style-default.tsx" ,
203+ preview : lazy ( ( ) => import ( "@/preview/components/radio-style-default" ) ) ,
204+ } ,
205+ "radio-style-variants" : {
206+ name : "radio-style-variants" ,
207+ filePath : "preview/components/radio-style-variants.tsx" ,
208+ preview : lazy ( ( ) => import ( "@/preview/components/radio-style-variants" ) ) ,
209+ } ,
210+ "radio-style-sizes" : {
211+ name : "radio-style-sizes" ,
212+ filePath : "preview/components/radio-style-sizes.tsx" ,
213+ preview : lazy ( ( ) => import ( "@/preview/components/radio-style-sizes" ) ) ,
214+ } ,
179215 "textarea-style-default" : {
180216 name : "textarea-style-default" ,
181217 filePath : "preview/components/textarea-style-default.tsx" ,
0 commit comments