import React from 'react'; import { View, StyleSheet } from 'react-native'; import { Indicator } from './indicator'; import Cell from '../cell'; import Row from '../row'; import Col from '../col'; import Button from '../button'; import { useTranslate } from '../utils'; import { DemoPage, DemoCard } from '../configprovider/styles/demo.page'; interface T { ce5c5446: string; c38a08ef: string; b840c88f: string; a74a1fd4: string; c123sda1: string; } const IndicatorDemo = () => { const [translated] = useTranslate({ 'zh-CN': { ce5c5446: '基础用法', c38a08ef: '主要按钮', b840c88f: 'block用法', a74a1fd4: '不补0', c123sda1: '竖向展示', }, 'zh-TW': { ce5c5446: '基礎用法', c38a08ef: '主要按鈕', b840c88f: 'block用法', a74a1fd4: '不補0', c123sda1: '豎向展示', }, 'en-US': { ce5c5446: 'Basic usage', c38a08ef: 'Button', b840c88f: 'Block usage', a74a1fd4: "Not Add '0'", c123sda1: 'Vertical display', }, }); return ( ); }; const styles = StyleSheet.create({ vertical_cell: { height: 100, width: '50%', alignItems: 'center', justifyContent: 'center', overflow: 'hidden', }, }); export default IndicatorDemo;