---
/**
 * 公共下拉面板组件
 * 用于壁纸切换、亮暗色切换、导航栏菜单等下拉面板
 */
interface Props {
	class?: string;
}

const { class: className } = Astro.props;
---

<div class:list={["card-base float-panel p-2", className]}>
	<slot />
</div>
