Skip to content

Commit

Permalink
chore: Fixed typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
artalat committed Aug 26, 2020
1 parent 85d8a73 commit 73b0d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/View/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import React from 'react';

export { ViewProps } from 'react-native';

export const View = (props: ViewProps) => <BaseView {...props} />;
export const View: React.ComponentType<ViewProps> = (props: ViewProps) => <BaseView {...props} />;
View.displayName = 'View';

0 comments on commit 73b0d7a

Please sign in to comment.