mirror of
https://github.com/SkyfallWasTaken/skyfalldev.git
synced 2025-04-03 18:24:15 +00:00
8 lines
No EOL
242 B
Text
8 lines
No EOL
242 B
Text
---
|
|
import {twMerge} from "tailwind-merge";
|
|
const { class: className, ...rest } = Astro.props;
|
|
---
|
|
|
|
<button class={twMerge("shadow-sm px-3 py-2 rounded-md bg-surface0 hover:bg-surface1 transition", className)} {...rest}>
|
|
<slot/>
|
|
</button> |