Skip to content

Commit b07a9da

Browse files
committed
Make animation optional in IModalOptions interface
The animation property in IModalOptions is now optional, allowing greater flexibility in its usage. This ensures compatibility with use cases where animation may not be explicitly defined.
1 parent 314500f commit b07a9da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export type TAnimationConfig = {
4747
}
4848

4949
export interface IModalOptions {
50-
animation: TAnimationConfig
50+
animation?: TAnimationConfig
5151
className?: string
5252
style?: CSS.Properties
5353
isMaskHidden?: boolean

0 commit comments

Comments
 (0)