Update styles

This commit is contained in:
Ibitoye Rotimi Best
2021-06-01 07:19:19 +03:00
parent ec256b1aec
commit 5f799fad5e
16 changed files with 5589 additions and 127 deletions
+10 -10
View File
@@ -12,9 +12,18 @@
function handleClick() {
onClick(value);
}
console.log("toolTipProps", toolTipProps);
</script>
<ToolTip title={toolTipProps.title} hotkeys={toolTipProps.hotkeys}>
<button
class={`root ${selected && "active"}`}
{disabled}
on:click={handleClick}
>
<slot />
</button>
</ToolTip>
<style lang="scss">
.root {
flex: 0 0 auto;
@@ -41,12 +50,3 @@
}
}
</style>
<ToolTip title={toolTipProps.title} hotkeys={toolTipProps.hotkeys}>
<button
class={`root ${selected && 'active'}`}
{disabled}
on:click={handleClick}>
<slot />
</button>
</ToolTip>