fix: the conent of tutorial 03-props 02-default-values

pull/8423/head
lijie 4 years ago
parent aa4d0fc264
commit 57fa2df77b

@ -2,5 +2,4 @@
import Nested from './Nested.svelte';
</script>
<Nested answer={42}/>
<Nested/>

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

Loading…
Cancel
Save