Skip to content

Commit e622f17

Browse files
committed
Fix SpringProps so it extends SpringBaseProps
1 parent f7c98e5 commit e622f17

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

types/universal.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface SpringBaseProps {
6464
onStart?(): void
6565
}
6666

67-
export interface SpringProps<DS extends object = {}> {
67+
export interface SpringProps<DS extends object = {}> extends SpringBaseProps {
6868
/**
6969
* Base styles
7070
* @default {}
@@ -87,11 +87,6 @@ export interface SpringProps<DS extends object = {}> {
8787
* Takes a function that receives interpolated styles
8888
*/
8989
children?: SpringRendererFunc<DS>
90-
/**
91-
* Prevents animation if true, you can also pass individual keys
92-
* @default false
93-
*/
94-
immediate?: boolean | string[] | ((key: string) => boolean)
9590
/**
9691
* Inject props
9792
* @default undefined

0 commit comments

Comments
 (0)