[fix] fixed input lag, bugs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<button
|
||||
on:click={onClick}
|
||||
on:click
|
||||
class="{selected ? 'bg-borderc' : 'bg-gray-700'} border border-gray-600 text-white rounded-md shadow-sm hover:bg-borderc focus:outline-none focus:ring-2 focus:ring-borderc transition-colors duration-200{className ? (" " + className) : ""}"
|
||||
class:px-4 = {size == "md"}
|
||||
class:px-2 = {size == "sm"}
|
||||
@@ -14,7 +14,6 @@
|
||||
</button>
|
||||
<script lang="ts">
|
||||
export let selected = false
|
||||
export let onClick = () => {}
|
||||
export let className = ""
|
||||
export let size: "sm" | "md" | "lg" = "md"
|
||||
</script>
|
||||
Reference in New Issue
Block a user