Update text.md

pull/7738/head
Rich Harris 6 years ago committed by GitHub
parent e73eb33b45
commit 1f21e66626

@ -10,7 +10,7 @@ We can easily specify default values for props:
</script> </script>
``` ```
If we now instantiate the component without an `answer` prop, it will fall back to the default: If we now add a second component *without* an `answer` prop, it will fall back to the default:
```html ```html
<Nested answer={42}/> <Nested answer={42}/>

Loading…
Cancel
Save