Browse Source

Revert "Prettier"

This reverts commit 032576cf7b.
main
Brian Vaughn 7 years ago
parent
commit
797a792b77
  1. 4
      examples/context/consumer-cached-function-as-a-child.js
  2. 4
      examples/context/consumer-inline-function-as-a-child.js

4
examples/context/consumer-cached-function-as-a-child.js

@ -4,9 +4,7 @@ class Example extends React.Component {
renderValue = value => {
return (
<div>
Context value:{value}. Props value:{
this.props.counter
}
Context value:{value}. Props value:{this.props.counter}
</div>
);
};

4
examples/context/consumer-inline-function-as-a-child.js

@ -6,9 +6,7 @@ class Example extends React.Component {
<Ctx.Consumer>
{value => (
<div>
Context value:{value}. Props value:{
this.props.counter
}
Context value:{value}. Props value:{this.props.counter}
</div>
)}
</Ctx.Consumer>

Loading…
Cancel
Save