Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sghall committed Apr 18, 2017
1 parent 36f7122 commit 87c5d3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ That key is used by React to keep track of what's mounted.
import NodeGroup from 'resonance/NodeGroup';
import Node from './Node';

const keyAccessor = (d) => d.name;

<NodeGroup
data={nodes}
nodeComponent={Node}
Expand Down

0 comments on commit 87c5d3b

Please sign in to comment.