Closed samuelcastro closed 5 years ago
Awesome, thanks @strothj this fixed the problem:
propFilter: (prop) => {
if (prop.parent == null) {
return true;
}
return prop.parent.fileName.indexOf('node_modules/@types/react') < 0;
}
I have an ui-elements repo that extends ant-design, some components like
Button
,Input
, etc have many native default props but I just want to document a few of them, is there a way to do that?This is what it's generate by default:
But what I really want is just a few of them.