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-spread/main.svelte

8 lines
159 B

<script>
const style = { fill: '#ff0000', x: '50', y: '50', width: '100', height: '75'};
</script>
<svg width="400" height="400">
<rect {...style}/>
</svg>