File size: 490 Bytes
efc9173 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
import React from "react";
import styles from "./WaveText.module.css";
interface Props {
active: boolean;
}
export default function WaveText({ active }: Props) {
return (
<div className={`${styles.waveText} ${active ? styles.active : ""}`}>
<span>W</span>
<span>h</span>
<span>a</span>
<span>t</span>
<span> </span>
<span>n</span>
<span>e</span>
<span>x</span>
<span>t</span>
<span>?</span>
</div>
);
}
|