React Polling Results Component
A complex React component that visualises several subsequent survey results, as shown here.
Installation
yarn add @ta-interaktiv/react-pollingresults
Usage
import { PollingResults } from '@ta-interaktiv/react-pollingresults'
const YourComponent = () => {
return (<PollingResults abstimmung={20180304} />)
}
API
Table of Contents
Abstimmungsumfragen
Extends React.Component
Main component – downloads the complete data set of a certain referendum date.
Parameters
-
props
Props-
props.abstimmung
number The date of the poll in the format YYYYMMDD
-