Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Available

Iheanacho Amarachi Sharon Iheanacho-ai

💭
Available
View GitHub Profile
View live-event-.jsx
import Head from "next/head";
import React, { useState } from "react";
import styles from "../styles/Home.module.css";
const Home = () => {
const [startTime, setStartTime] = useState(1633538276355);
const [controls, setControls] = useState(true);
const [ended, setEnded] = useState(false);
const [duration, setDuration] = useState(null);
const [playing, setPlaying] = useState(true);