Skip to content

Commit 5ca9e72

Browse files
authored
Fix picked reanimated typings (#2726)
1 parent 7c5e94c commit 5ca9e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/view/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import type {RecorderProps} from '../../typings/recorderTypes';
99
/**
1010
* Extra props when using reanimated (only non experimental props)
1111
*/
12-
type ReanimatedProps = Pick<RNReanimatedProps<object>, 'entering' | 'exiting' | 'layout'>;
12+
type ReanimatedProps = Partial<Pick<RNReanimatedProps<object>, 'entering' | 'exiting' | 'layout'>>;
1313

1414
export interface ViewProps
1515
extends Omit<RNViewProps, 'style'>,

0 commit comments

Comments
 (0)