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