import React, {useState} from 'react'; import {View, ScrollView, TextInput} from 'react-native'; import {Container, Header, Note, Button, Input} from 'components'; import {Colors} from 'global-styles'; import {useTranslation} from 'react-i18next'; import styles from './styles'; const BUSINESS_CATEGORY = [ {label: 'Makanan dan Minuman', value: 1}, {label: 'Kuliner Kue Tradisional', value: 2}, {label: 'Gorengan', value: 3}, {label: 'Street Food', value: 4}, {label: 'Aneka Keripik', value: 5}, {label: 'Minuman Dingin Kekinian', value: 6}, ]; const BusinessSummary = ({navigation}) => { const [categorySelected, setCategorySelected] = useState(null); const [currency, setCurrency] = useState({ average_daily: null, average_monthly: null, }); const {t} = useTranslation(); return (
setCategorySelected(val)} /> setCurrency({...currency, average_daily: val}) } placeholder="1.000.000" label={t('average_daily_sales')} /> setCurrency({...currency, average_monthly: val}) } placeholder="3.000.000" label={t('average_monthly_sales')} />