diff --git a/README.md b/README.md index 606abe3..ca564df 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ import { useDynamicImport } from 'docusaurus-plugin-react-docgen-typescript/pkg/ export const PropTable = ({ name }) => { const props = useDynamicImport(name); + + if (!props) { + return null; + } return (