<script>
    export let size;
    export let id;
    export let position;
    export let img;
    export let name;

    var style="tile";
    if(size=="big") style="bigtile";

</script>

<div class="{style}"  style="background-image: url({img});">{position} = {name}</div>
            

