live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/vote-react


@orangecheck/vote-react / OcTallyBadgeProps

Interface: OcTallyBadgeProps

Defined in: badge.tsx:20

Properties

PropertyTypeDescriptionDefined in
<a id="property-baseurl"></a> baseUrl?stringOverride /api/tally origin. Default https://vote.ochk.io.badge.tsx:26
<a id="property-classname"></a> className?stringExtra class on the outer element.badge.tsx:32
<a id="property-initialdata"></a> initialData?TallyResponseSupply SSR-hydrated data to skip the initial fetch.badge.tsx:30
<a id="property-pollid"></a> pollIdstring64-hex poll id.badge.tsx:22
<a id="property-refreshms"></a> refreshMs?numberAuto-refresh interval in ms. Default 60000. Set to 0 to disable.badge.tsx:28
<a id="property-style"></a> style?CSSPropertiesInline 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