Skip to main content

Value

The Value component draw the value of the knob.

Live Editor
<Knob size={100} angleOffset={220} angleRange={280} min={0} max={100}>
    <Value marginBottom={10} className="my-value-style" />
</Knob>
Result
Loading...

Properties

PropDescription
decimalPlace

Number of decimal places the value should rendered with. 0 by default.

classNameclassName that is passed to the SVG text component.
marginBottomUseful to adjust the horizontal position of the text inside