Add comments to make clear

It's easy to missee those two components. At the first seeing I thought those were an open tag and a close tag.
pull/2976/head
范鼎 6 years ago committed by GitHub
parent 99de443181
commit 0547da1119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,6 +13,8 @@ We can easily specify default values for props:
If we now instantiate the component without an `answer` prop, it will fall back to the default:
```html
// With prop
<Nested answer={42}/>
// Without prop
<Nested/>
```
```

Loading…
Cancel
Save