mirror of https://github.com/sveltejs/svelte
parent
845d7cb8c8
commit
43c749947d
@ -0,0 +1,9 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"code": "invalid-style-directive",
|
||||||
|
"message": "Style directives on components are not currently supported.",
|
||||||
|
"start": { "line": 7, "column": 19, "character": 97 },
|
||||||
|
"end": { "line": 7, "column": 36, "character": 114 },
|
||||||
|
"pos": 97
|
||||||
|
}
|
||||||
|
]
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
let name = 'world';
|
||||||
|
|
||||||
|
import Child from 'Child.svelte';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Child name={name} style:color="red" />
|
||||||
Loading…
Reference in new issue