Hiyve Components - v1.0.0
    Preparing search index...
    • ActivePoll displays an active poll with voting interface.

      Parameters

      Returns ReactElement

      The rendered ActivePoll component

      The component handles:

      • Displaying poll question and options
      • Allowing users to select options
      • Submitting votes
      • Showing results (if enabled)
      • Owner controls (end poll, share results)
      <ActivePoll
      poll={activePoll}
      isOwner={isOwner}
      userId={localUserId}
      userVote={userVote}
      onVote={handleVote}
      onEnd={handleEndPoll}
      />