@orangecheck/vote-react / OcTallyBadgeProps
Interface: OcTallyBadgeProps
Defined in: badge.tsx:20
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-baseurl"></a> baseUrl? | string | Override /api/tally origin. Default https://vote.ochk.io. | badge.tsx:26 |
<a id="property-classname"></a> className? | string | Extra class on the outer element. | badge.tsx:32 |
<a id="property-initialdata"></a> initialData? | TallyResponse | Supply SSR-hydrated data to skip the initial fetch. | badge.tsx:30 |
<a id="property-pollid"></a> pollId | string | 64-hex poll id. | badge.tsx:22 |
<a id="property-refreshms"></a> refreshMs? | number | Auto-refresh interval in ms. Default 60000. Set to 0 to disable. | badge.tsx:28 |
<a id="property-style"></a> style? | CSSProperties | Inline style override. | badge.tsx:34 |
<a id="property-target"></a> target? | "_blank" | "_self" | Target for the link. Default _blank. | badge.tsx:36 |
<a id="property-theme"></a> theme? | "light" | "dark" | Theme. Default light. | badge.tsx:24 |