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/js/samples/collapse-element-class-name/input.svelte

41 lines
810 B

<script>
import Component from "./Component.svelte";
export let size;
export let theme;
</script>
<div
class="
button
button--size--{size}
button--theme--{theme}
{$$restProps.class || ''}"
style="
color: green;
background: white;
font-size: {size};
transform: {$$restProps.scale} {$$restProps.rotate};
{$$restProps.styles}"
other="
button
button--size--{size}
button--theme--{theme}
{$$restProps.class || ''}" />
<Component
class="
button
button--size--{size}
button--theme--{theme}
{$$restProps.class || ''}"
style="
color: green;
background: white;
font-size: {size};
transform: {$$restProps.scale} {$$restProps.rotate};
{$$restProps.styles}"
other="
button
button--size--{size}
button--theme--{theme}
{$$restProps.class || ''}" />