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.../Rect.svelte

11 lines
205 B

<svelte:options namespace="http://www.w3.org/2000/svg"/>
<script>
export let x;
export let y;
export let width;
export let height;
</script>
<rect x='{x}' y='{y}' width='{width}' height='{height}'/>