mirror of https://github.com/sveltejs/svelte
parent
ce8f48c23e
commit
00ead6ab4a
@ -1,9 +1,9 @@
|
||||
<script>
|
||||
export let props = {
|
||||
disabled: false,
|
||||
type: "button",
|
||||
"data-named": "foo",
|
||||
};
|
||||
export let props = {
|
||||
disabled: false,
|
||||
type: 'button',
|
||||
'data-named': 'foo'
|
||||
};
|
||||
</script>
|
||||
|
||||
<svelte:element this="button" {...props}>Click me</svelte:element>
|
||||
|
||||
Loading…
Reference in new issue