Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
flow-typed
flow-typed
examples
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

.*/node_modules/*

.*/examples/*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
Expand Down
3 changes: 2 additions & 1 deletion NodeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ export default class NodeView extends React.PureComponent<Props, State> {
)
}

renderItem = ({item}) => this.renderChildren(item, this.props.level)
renderItem = ({item}: {item: Node}) =>
this.renderChildren(item, this.props.level)

render() {
const rootChildrenName = this.props.getChildrenName(this.state.node)
Expand Down
Loading