We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ff346 commit c6af99eCopy full SHA for c6af99e
src/index.tsx
@@ -69,7 +69,7 @@ const Stories: FC<{
69
70
const Component = compName && stories[compName];
71
72
- if (compName) return Component ? h(Component) : h("Component not found");
+ if (compName) return Component ? <Component /> : <>"Component not found"</>;
73
74
return (
75
<div className={wrapper}>
0 commit comments