---
import type { HTMLAttributes } from 'astro/types'
import type { SignOutParams } from 'next-auth/react/types'
interface Props extends HTMLAttributes<'button'> {
params?: SignOutParams
}
const key = Math.random().toString(36).slice(2, 11)
const { params, ...attrs } = Astro.props
attrs.class = `signout-${key} ${attrs.class ?? ''}`
---