Skip to content

Commit

Permalink
Fix picked reanimated typings (#2726)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanshar committed Aug 28, 2023
1 parent 5bce0f5 commit df400bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/view/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type {RecorderProps} from '../../typings/recorderTypes';
/**
* Extra props when using reanimated (only non experimental props)
*/
type ReanimatedProps = Pick<RNReanimatedProps<object>, 'entering' | 'exiting' | 'layout'>;
type ReanimatedProps = Partial<Pick<RNReanimatedProps<object>, 'entering' | 'exiting' | 'layout'>>;

export interface ViewProps
extends Omit<RNViewProps, 'style'>,
Expand Down

0 comments on commit df400bc

Please sign in to comment.