import React from 'react'; import { StyleSheet, View, ViewProps } from 'react-native'; import { Text } from '@ui-kitten/components'; export interface ProfileSocialProps extends ViewProps { hint: string; value: string; } export const ProfileSocial = (props: ProfileSocialProps): React.ReactElement => { const { style, hint, value, ...viewProps } = props; return ( {value} {props.hint} ); }; const styles = StyleSheet.create({ container: { alignItems: 'center', }, });