You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/svg-child-component-declare.../main.html

13 lines
195 B

<script>
import Rect from './Rect.html';
export let x;
export let y;
export let width;
export let height;
</script>
<svg>
<Rect x='{x}' y='{y}' width='{width}' height='{height}'/>
</svg>