mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* react-native-share: add types for components * react-native-share: apply lint * react-native-share: apply lint
15 lines
403 B
TypeScript
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;
|