feat: copy button

This commit is contained in:
jason 2024-09-11 22:54:47 -07:00
parent 1012f562ff
commit 4382f7165c
22 changed files with 197 additions and 752 deletions

View file

@ -1,5 +1,11 @@
---
import { cn } from '@/lib/utils'
interface Props {
class?: string
}
const { class: className } = Astro.props
---
---
<div class="mx-auto max-w-screen-md"><slot /></div>
<div class={cn('mx-auto max-w-screen-md', className)}><slot /></div>