RungOption
One radio in an adjust card: the rung name, its description, and the count.
Example
<RungOption
name="role"
checked={picked}
onChange={pick}
label="ICU nurse"
how="Critical care on a hospital unit"
people={{ n: 1280, over: false, dim: false }}
auto
/>
Props
| Prop | Type | |
|---|---|---|
name | string | Shared by the radios in one card. |
checked | boolean | |
disabled | boolean | |
onChange | () => void | |
label | string | |
how | string | |
weak | boolean | |
people | { n, over, dim } | The count, or … when over is set. |
auto | boolean | The search chose this step. |
step | { backgroundColor, borderColor } | The color swatch. |
Render it inside SourcingTheme so the Nova tokens apply.