mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Don't document private methods
This commit is contained in:
@@ -219,7 +219,9 @@ var APIDoc = React.createClass({
|
||||
renderMethods: function(methods) {
|
||||
return (
|
||||
<div className="props">
|
||||
{methods.map(this.renderMethod)}
|
||||
{methods.filter((method) => {
|
||||
return method.name[0] !== '_';
|
||||
}).map(this.renderMethod)}
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user