(
+
+ 0 ? '8' : '0'}>
+
+ {`<`}
+ {component.name}
+ {`>`}
+
+
+
+
+ {/* @ts-ignore */}
+
+
+
+ {component.props.length ? (
+
+
+
+
+ {headers.map((x, i) => (
+
- {x}
-
-
+
+
+ {x}
+
+
+
+ ))}
- ))}
-
-
+
-
- {props.map((x) => (
-
-
-
+ {component.props.map((x, propIndex) => (
+
-
- {x.name}
- {x.required && (
-
- *Required
+
+
+
+ {x.name}
+ {x.required && (
+
+ *Required
+
+ )}
- )}
-
- {x.description && (
-
-
-
-
-
- )}
-
-
+ {x.description && (
+
+
+
+
+
+ )}
+
+
-
-
- {x.type.raw ?? x.type.name}
-
-
+
+
+ {x.type.raw ?? x.type.name}
+
+
-
-
- {x.defaultValue?.value.toString() ?? '-'}
-
-
+
+
+ {x.defaultValue?.value.toString() ?? '-'}
+
+
+
+ ))}
- ))}
+
-
-
- ) : (
-
- No props
-
- )}
+ ) : (
+
+
+ No props
+
+
+ )}
+
+ ))}
>
);
};
diff --git a/apps/docs/src/components/ThemeSelect/ThemeSelect.tsx b/apps/docs/src/components/ThemeSelect/ThemeSelect.tsx
index 8fa1755..cd98690 100644
--- a/apps/docs/src/components/ThemeSelect/ThemeSelect.tsx
+++ b/apps/docs/src/components/ThemeSelect/ThemeSelect.tsx
@@ -9,7 +9,7 @@ const ThemeSelect: React.FC = () => {
return (