12 lines
198 B
Plaintext
12 lines
198 B
Plaintext
---
|
|
export interface Props {
|
|
isDark?: boolean;
|
|
}
|
|
|
|
const { isDark = false } = Astro.props;
|
|
---
|
|
|
|
<div class:list={['absolute inset-0', { 'bg-dark dark:bg-transparent': isDark }]}>
|
|
<slot />
|
|
</div>
|