@samitouri / QOS-React-2 / commits / 9d8519fc0d

Insert blockquote on prop value explanation. (#9770)

While reading the page, the "chain of thought" is broken by stating that the `tempertature` and `onTemperatureChange` don't have any special meaning. Making this a blockquote makes that note look more like a comment and keep the "chain of thought" intact.

Ricardo committed Jun 5, 2017 at 15:51 UTC 9d8519fc0d543069ae4ec7c2704b8084c2afb306
1 file changed +1 -1
docs/docs/lifting-state-up.md
+1 -1
@@ -196,7 +196,7 @@ Now, when the `TemperatureInput` wants to update its temperature, it calls `this
196 this.props.onTemperatureChange(e.target.value);
197 ```
198
199 -Note that there is no special meaning to either `temperature` or `onTemperatureChange` prop names in custom components. We could have called them anything else, like name them `value` and `onChange` which is a common convention.
199 +> Note that there is no special meaning to either `temperature` or `onTemperatureChange` prop names in custom components. We could have called them anything else, like name them `value` and `onChange` which is a common convention.
200
201 The `onTemperatureChange` prop will be provided together with the `temperature` prop by the parent `Calculator` component. It will handle the change by modifying its own local state, thus re-rendering both inputs with the new values. We will look at the new `Calculator` implementation very soon.
202