@react-stately/utils
Advanced tools
Comparing version
{ | ||
"name": "@react-stately/utils", | ||
"version": "3.0.0-nightly-4980928d3-240906", | ||
"version": "3.0.0-nightly-4b2c6e76f-250320", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,3 +25,3 @@ "license": "Apache-2.0", | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
@@ -33,4 +33,3 @@ "dependencies": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.10.3" | ||
} | ||
} |
@@ -21,3 +21,3 @@ /* | ||
export function roundToStepPrecision(value: number, step: number) { | ||
export function roundToStepPrecision(value: number, step: number): number { | ||
let roundedValue = value; | ||
@@ -24,0 +24,0 @@ let stepString = step.toString(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet