DefinitelyTyped/types/react-native-share/Button.d.ts
Jesse Katsumata 5c0fe950c3 react-native-share: add types for components (#41395)
* react-native-share: add types for components

* react-native-share: apply lint

* react-native-share: apply lint
2020-01-06 15:38:23 -08:00

15 lines
403 B
TypeScript

import { Component, ReactNode, FC } from 'react';
import { Animated, StyleProp, ViewProps, ImageSourcePropType, TextProps } from 'react-native';
export interface ButtonProps {
buttonStyle: StyleProp<ViewProps>;
onPress: () => void;
iconSrc: ImageSourcePropType;
textStyle: StyleProp<TextProps>;
children: ReactNode;
}
declare const Button: FC<ButtonProps>;
export default Button;