File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ export type SpringSetter<T> = (
6262 * Creates a signal and a setter that uses spring physics when interpolating from
6363 * one value to another. This means when the value changes, instead of
6464 * transitioning at a steady rate, it "bounces" like a spring would,
65- * depending on the physics paramters provided. This adds a level of realism to
65+ * depending on the physics parameters provided. This adds a level of realism to
6666 * the transitions and can enhance the user experience.
6767 *
6868 * `T` - The type of the signal. It works for the basic data types that can be
@@ -196,12 +196,12 @@ export function createSpring<T extends SpringTarget>(
196196// ===========================================================================
197197
198198/**
199- * Creates a spring value that interpolates based on changes on a passed signal.
199+ * Creates a spring value that interpolates based on changes to the passed signal.
200200 * Works similar to the `@solid-primitives/tween`
201201 *
202202 * @param target Target to be modified.
203203 * @param options Options to configure the physics of the spring.
204- * @returns Returns the spring value only.
204+ * @returns Returns the spring value accessor only.
205205 *
206206 * @example
207207 * const percent = createMemo(() => current() / total() * 100);
You can’t perform that action at this time.
0 commit comments