WeightPickerProps Interface
Properties for the WeightPickerButton React component
Extends
- ButtonHTMLAttributes<HTMLButtonElement>
- CommonProps
Properties
| Name | Type | Description | |
|---|---|---|---|
| activeWeight | number | active weight | |
| colorDef | undefined | ColorDef | color specification | |
| disabled | undefined | boolean | Disabled or not | |
| dropDownTitle | undefined | string | Title to show at top of DropDown | |
| hideLabel | undefined | boolean | hide the weight label | |
| onLineWeightPick | undefined | (weight: number) => void | ||
| readonly | undefined | boolean | Readonly or not | |
| weights | number[] | available weights |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| itemId | undefined | string | CommonProps | Optional unique identifier for item. |
Defined in
Last Updated: 30 November, 2023