UNPKG

1.81 kBTypeScriptView Raw
1import React from 'react';
2import { ViewStyle, StyleProp, TextStyle } from 'react-native';
3import { RneFunctionComponent } from '../helpers';
4export declare type SocialMediaType = 'facebook' | 'facebook-messenger' | 'whatsapp' | 'twitter' | 'google-plus-official' | 'google' | 'pinterest' | 'linkedin' | 'youtube' | 'vimeo' | 'tumblr' | 'instagram' | 'quora' | 'flickr' | 'foursquare' | 'wordpress' | 'stumbleupon' | 'github' | 'github-alt' | 'twitch' | 'medium' | 'soundcloud' | 'stack-overflow' | 'gitlab' | 'angellist' | 'codepen' | 'weibo' | 'vk';
5export declare type SocialIconProps = {
6 Component?: typeof React.Component;
7 type?: SocialMediaType;
8 button?: boolean;
9 onPress?(): void;
10 onLongPress?(): void;
11 iconType?: string;
12 iconStyle?: StyleProp<ViewStyle>;
13 style?: StyleProp<ViewStyle>;
14 iconColor?: string;
15 underlayColor?: string;
16 title?: string;
17 raised?: boolean;
18 disabled?: boolean;
19 loading?: boolean;
20 activityIndicatorStyle?: StyleProp<ViewStyle>;
21 small?: string;
22 iconSize?: number;
23 light?: boolean;
24 fontWeight?: string;
25 fontStyle?: StyleProp<TextStyle>;
26 fontFamily?: string;
27};
28declare const SocialIcon: RneFunctionComponent<SocialIconProps>;
29export { SocialIcon };
30declare const _default: React.FunctionComponent<Pick<SocialIconProps & Partial<import("../config").ThemeProps<SocialIconProps>>, "style" | "light" | "button" | "raised" | "disabled" | "iconStyle" | "onPress" | "onLongPress" | "underlayColor" | "type" | "Component" | "small" | "title" | "loading" | "iconType" | "fontFamily" | "activityIndicatorStyle" | "fontStyle" | "fontWeight" | "iconColor" | "iconSize">> | React.ForwardRefExoticComponent<SocialIconProps & Partial<import("../config").ThemeProps<SocialIconProps>>>;
31export default _default;