react-native-elements
Version:
React Native Elements & UI Toolkit
32 lines (31 loc) • 1.81 kB
TypeScript
import React from 'react';
import { ViewStyle, StyleProp, TextStyle } from 'react-native';
import { RneFunctionComponent } from '../helpers';
export 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';
export declare type SocialIconProps = {
Component?: typeof React.Component;
type?: SocialMediaType;
button?: boolean;
onPress?(): void;
onLongPress?(): void;
iconType?: string;
iconStyle?: StyleProp<ViewStyle>;
style?: StyleProp<ViewStyle>;
iconColor?: string;
underlayColor?: string;
title?: string;
raised?: boolean;
disabled?: boolean;
loading?: boolean;
activityIndicatorStyle?: StyleProp<ViewStyle>;
small?: string;
iconSize?: number;
light?: boolean;
fontWeight?: string;
fontStyle?: StyleProp<TextStyle>;
fontFamily?: string;
};
declare const SocialIcon: RneFunctionComponent<SocialIconProps>;
export { SocialIcon };
declare 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>>>;
export default _default;