|
|
|
@ -10,7 +10,7 @@ We can easily specify default values for props:
|
|
|
|
|
</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
|
|
|
|
|
<Nested answer={42}/>
|
|
|
|
|