Poll Dashboard
Manage your polls, view results, and edit as needed.
| # | Title | Description | Total Votes | Published | Actions |
|---|
// Dashboard.js import React, { useState } from "react"; import { FaPlus } from "react-icons/fa"; import PollTableRow from "../components/PollTableRow/PollTableRow"; function Dashboard() { const [showPollAddForm, setShowPollAddForm] = useState(false); const pollData = [ { _id: "1", title: "Poll 1", description: "Description of Poll 1", totalVotes: 120, published: true }, { _id: "2", title: "Poll 2", description: "Description of Poll 2", totalVotes: 45, published: false }, // Add more poll data as needed ]; return (
Manage your polls, view results, and edit as needed.
| # | Title | Description | Total Votes | Published | Actions |
|---|