react-native-network-logger
Version:
An HTTP traffic monitor for React Native with zero dependencies
22 lines • 630 B
TypeScript
import { Image, TouchableOpacityProps } from 'react-native';
declare const icons: {
close: any;
filter: any;
more: any;
search: any;
share: any;
};
type ButtonProps = {
onPress?: never;
accessibilityLabel?: string;
} | ({
onPress: () => void;
accessibilityLabel: string;
} & TouchableOpacityProps);
type IconName = keyof typeof icons;
declare const Icon: ({ name, onPress, accessibilityLabel, iconStyle, ...rest }: {
name: IconName;
iconStyle?: Image["props"]["style"];
} & ButtonProps) => import("react/jsx-runtime").JSX.Element;
export default Icon;
//# sourceMappingURL=Icon.d.ts.map