@orangecheck/react / OcBadgeProps
Interface: OcBadgeProps
Defined in: src/badge.tsx:25
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-address"></a> address | string | Bitcoin address the proof is bound to. | src/badge.tsx:27 |
<a id="property-algorithm"></a> algorithm? | ScoringAlgorithm | Scoring display mode. Default v0. | src/badge.tsx:35 |
<a id="property-classname"></a> className? | string | Extra className passed through to the root element. | src/badge.tsx:43 |
<a id="property-days"></a> days | number | Days unspent. | src/badge.tsx:31 |
<a id="property-hidescore"></a> hideScore? | boolean | Hide the score entirely; show only raw metrics. | src/badge.tsx:41 |
<a id="property-sats"></a> sats | number | Sats bonded (from the sats field of a CheckResult or sats_bonded of a VerifyOutcome.metrics). | src/badge.tsx:29 |
<a id="property-score"></a> score? | number | Optional reference score (from score). Computed from sats/days if omitted. | src/badge.tsx:33 |
<a id="property-style"></a> style? | CSSProperties | Inline style override. | src/badge.tsx:45 |
<a id="property-theme"></a> theme? | "light" | "dark" | Colour theme. Default light. | src/badge.tsx:39 |
<a id="property-variant"></a> variant? | "compact" | "card" | Visual variant. Default compact. | src/badge.tsx:37 |