Fix consistency of component api document
Toru Kobayashi committed
Feb 2, 2015 at 09:52 UTC
b7860b7da4f87bbe4b66dd5f5b1be8ff698a71b4
1 file changed
+2
-2
docs/docs/ref-02-component-api.md
+2
-2
@@ -39,7 +39,7 @@ replaceState(object nextState[, function callback])
39
Like `setState()` but deletes any pre-existing state keys that are not in nextState.
40
41
42
-### forceUpdate()
42
+### forceUpdate
43
44
```javascript
45
forceUpdate([function callback])
@@ -61,7 +61,7 @@ DOMElement getDOMNode()
61
If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `this.getDOMNode()` returns `null`.
62
63
64
-### isMounted()
64
+### isMounted
65
66
```javascript
67
bool isMounted()