Skip to content

Commit

Permalink
fix: set default initial value on web (#621)
Browse files Browse the repository at this point in the history
Co-authored-by: maciej.lodygowski <[email protected]>
  • Loading branch information
draggie and maciej.lodygowski committed Aug 24, 2024
1 parent 64e1282 commit a088830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/src/RNCSliderNativeComponent.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const valueToEvent = (value: number): Event => ({nativeEvent: {value}});
const RCTSliderWebComponent = React.forwardRef(
(
{
value: initialValue,
value: initialValue = 0,
minimumValue = 0,
maximumValue = 0,
lowerLimit = 0,
Expand Down

0 comments on commit a088830

Please sign in to comment.