anki/ts/components/WithTheming.svelte

18 lines
307 B
Svelte
Raw Normal View History

<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
export let style: string;
</script>
<style lang="scss">
div {
display: contents;
}
</style>
<div {style}>
<slot />
</div>