import React from 'react'; import { StyleSheet } from 'react-native'; import { Divider, Layout, Text, LayoutProps } from '@ui-kitten/components'; export interface ProfileSettingProps extends LayoutProps { hint: string; value: string; } export const ProfileSetting = (props: ProfileSettingProps): React.ReactElement => { const { style, hint, value, ...layoutProps } = props; return ( {hint} {value} ); }; const styles = StyleSheet.create({ container: { flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', }, });