-
Notifications
You must be signed in to change notification settings - Fork 1.2k
自动 API 表格,未找到 Foo 组件的属性定义 #1476
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Question
自动 API 表格,未找到 Foo 组件的属性定义
Sample Code
// src/Foo/index.tsx
import React, { type FC } from "react";
const Foo: FC<{title?: string;}> = ({ title }) => <h1>{title}</h1>;
export default Foo;
// src/Foo/index.md
<API id="Foo"></API>
// src/index.ts
export { default as Foo } from './Foo';
// .dumirc.ts
export default defineConfig({
apiParser: {},
resolve: {
entryFile: './src/index.ts',
},
})
version
"dumi": "^2.1.9",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested