Socket
Book a DemoInstallSign in
Socket

@waku/poll-sdk-react-components

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waku/poll-sdk-react-components

-`Poll`

latest
Source
npmnpm
Version
0.4.0
Version published
Maintainers
1
Created
Source

This packages contains react components used to display waku polls

Components

-Poll

Components that displays poll as a card

type PollProps = {
  theme: Theme // see react-components theme
  poll: DetailedTimedPoll // see core DetailedTimedPoll
  wakuPolling: WakuPolling | undefined // see core
}

-PollCreation

Modal that creates now polls

type PollCreationProps = {
  theme: Theme
  wakuPolling: WakuPolling | undefined
  setShowPollCreation: (val: boolean) => void // function that shows or hides modal
}

-PollList

A component that shows a list of polls on waku network

type PollListProps = {
  theme: Theme
  wakuPolling: WakuPolling | undefined
  account: string | null | undefined
}

FAQs

Package last updated on 20 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts