import React from 'react'; import { View } from 'react-native'; import TrendArrow from '../trendarrow'; import Icon from '../icon'; import { DemoPage, DemoCard } from '../configprovider/styles/demo.page'; import { useTranslate } from '../utils'; interface T { basic: string; title1: string; title2: string; title3: string; title4: string; title5: string; title6: string; title7: string; } const TrendArrowDemo = () => { const [translated] = useTranslate({ 'zh-CN': { basic: '基本用法', title1: '改变文字颜色', title2: '指定小数位', title3: '箭头在前面', title4: '显示正负号', title5: '是否展示0', title6: '自定义颜色', title7: '自定义图标' }, 'zh-TW': { basic: '基本用法', title1: '改变文字颜色', title2: '指定小数位', title3: '箭头在前面', title4: '显示正负号', title5: '是否展示0', title6: '自定义颜色', title7: '自定义图标' }, 'en-US': { basic: 'Basic Usage', title1: 'Change text color', title2: 'Specify decimal places', title3: 'Arrow ahead', title4: 'Show sign', title5: 'Whether to show 0', title6: 'Custom color', title7: 'Custom icon' } }); return ( ); }; export default TrendArrowDemo;