mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-08 18:09:12 -06:00
16 lines
495 B
Plaintext
16 lines
495 B
Plaintext
---
|
|
interface Props {
|
|
className?: string | null;
|
|
children?: string | null;
|
|
}
|
|
const { className, children: propText } = Astro.props;
|
|
console.log(Astro.props);
|
|
const text = propText ?? "undefined behaviors";
|
|
---
|
|
<header class:list={["text-5xl text-center lowercase", className]}>
|
|
<div class="stack" style="--stacks: 3;">
|
|
<span style="--index: 0;">{text}</span>
|
|
<span style="--index: 1;">{text}</span>
|
|
<span style="--index: 2;">{text}</span>
|
|
</div>
|
|
</header> |