Browse Source

remove confusing {}

main
Alex Krolick 7 years ago
parent
commit
e9ae68f55b
  1. 2
      content/docs/context.md

2
content/docs/context.md

@ -55,7 +55,7 @@ Accepts a `value` prop to be passed to Consumers that are descendants of this Pr
```js
<Consumer>
{ value => { /* render something based on the context value */ } }
{value => /* render something based on the context value */}
</Consumer>
```

Loading…
Cancel
Save