Restructure components

This commit is contained in:
Ibitoye Rotimi Best
2021-05-06 07:15:40 +03:00
parent a80ecc31d0
commit c15c421fee
17 changed files with 174 additions and 162 deletions
+15
View File
@@ -0,0 +1,15 @@
<script>
let hovering;
function enter() {
hovering = true;
}
function leave() {
hovering = false;
}
</script>
<div on:mouseenter={enter} on:mouseleave={leave}>
<slot></slot>
</div>