mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
parent
2575d45f0b
commit
0ec019f959
16 changed files with 209 additions and 34 deletions
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
import Button from '../Button'
|
||||
import clsx from 'clsx'
|
||||
|
||||
const { class: className } = Astro.props
|
||||
const { class: className, ...rest } = Astro.props
|
||||
---
|
||||
|
||||
<button
|
||||
|
|
@ -10,6 +7,7 @@ const { class: className } = Astro.props
|
|||
'w-full md:w-fit md:h-full bg-dark hover:bg-gray py-3.5 md:py-1 px-2 rounded-none text-left md:text-center',
|
||||
className
|
||||
]}
|
||||
{...rest}
|
||||
>
|
||||
<slot />
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue