Skip to content

Commit

Permalink
chore: improve style prop type in MenuItem (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored and Trancever committed Oct 28, 2019
1 parent a306d2e commit 37183ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Menu/MenuItem.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import color from 'color';
import * as React from 'react';
import { View, StyleSheet } from 'react-native';
import { View, StyleSheet, ViewStyle, StyleProp } from 'react-native';
import Icon, { IconSource } from '../Icon';
import TouchableRipple from '../TouchableRipple';
import Text from '../Typography/Text';
Expand Down Expand Up @@ -29,7 +29,7 @@ type Props = {
* @optional
*/
theme: Theme;
style?: any;
style?: StyleProp<ViewStyle>;
};

/**
Expand Down

0 comments on commit 37183ec

Please sign in to comment.