feat: add animation duration option
## Description
Adds an optional `animationDuration` property to the `createSwapy()` method. If `animationDuration` is specified, the default animation duration will be overridden with the user-specified value. If `animationDuration` is not specified, the animation defaults to the duration set by the `getAnimateConfig()` method.
## Example usage
```typescript
createSwapy(container, {
animationDuration: 180 // Set swap animation duration to 180ms
})
```
合并状态:未合并 1 条评论