mirror of https://github.com/sveltejs/svelte
parent
0e9f16b589
commit
6ef59234a3
@ -0,0 +1 @@
|
||||
<a href='mailto:{{address}}'>email</a>
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<a href='mailto:hello@example.com'>email</a>`
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<Email address='hello@example.com'/>
|
||||
|
||||
<script>
|
||||
import Email from './Email.html';
|
||||
|
||||
export default {
|
||||
components: { Email },
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue