mirror of https://github.com/sveltejs/svelte
parent
feba333db5
commit
696efae2d4
@ -1,5 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
export let color = 'red';
|
export let color1 = 'red';
|
||||||
|
export let color2 = 'blue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<p style="height: 40px; color: blue;" style:color={color} />
|
<p style="height: 40px; color: {color2};" style:color={color1} />
|
||||||
|
|||||||
Loading…
Reference in new issue