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 8ee52b9 commit dffbda4Copy full SHA for dffbda4
README.md
@@ -109,9 +109,9 @@ type PropFilter = (prop: PropItem, component: Component) => boolean;
109
110
const options = {
111
propFilter: (prop: PropItem, component: Component) => {
112
- if (prop.parents !== undefined && prop.parents.length > 0) {
113
- const hasPropAdditionalDescription = prop.parents.find((parent) => {
114
- return !parent.fileName.includes("node_modules");
+ if (prop.declarations !== undefined && prop.declarations.length > 0) {
+ const hasPropAdditionalDescription = prop.declarations.find((declaration) => {
+ return !declaration.fileName.includes("node_modules");
115
});
116
117
return Boolean(hasPropAdditionalDescription);
0 commit comments