Update Transition Tutorial

The `fade` import was removed in the previous chapter, it needs to be re-added for the example to work correctly.
pull/2792/head
Maxi Ferreira 6 years ago committed by GitHub
parent 298ae8ec23
commit 92691ff7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
<script>
import { fly } from 'svelte/transition';
import { fade, fly } from 'svelte/transition';
let visible = true;
</script>
@ -12,4 +12,4 @@
<p transition:fly="{{ y: 200, duration: 2000 }}">
Flies in and out
</p>
{/if}
{/if}

Loading…
Cancel
Save