Skip to content

Commit

Permalink
one more minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyraspopov committed Oct 18, 2024
1 parent 0224bd1 commit e389bc5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ npm install oscillation

Oscillation is a physics-based animation library for creating smooth, natural-looking animations.

## Quick Start

```javascript
import { motion, spring } from "oscillation";

Expand Down Expand Up @@ -64,7 +62,7 @@ Parameters:
- `callback`: A function called on each frame with the current state.
- `options`: Optional object with an `AbortSignal` to stop the animation.

### `spring(source, destination[, config])`
### `spring(source, destination, config?)`

Creates a spring-based motion.

Expand Down

0 comments on commit e389bc5

Please sign in to comment.