diff --git a/core/docz/src/components/Props.tsx b/core/docz/src/components/Props.tsx index 1376d534c..bbb2d1766 100644 --- a/core/docz/src/components/Props.tsx +++ b/core/docz/src/components/Props.tsx @@ -117,7 +117,8 @@ export const Props: SFC = ({ stateProps && stateProps.length > 0 && stateProps.find( - item => item.key.includes(`/${componentName}.`) || item.key === filename + item => + item.key.includes(`/${componentName}.`) || item.key.includes(filename) ) const value = get('value', found) || []