diff --git a/src/packages/configprovider/demo.taro.tsx b/src/packages/configprovider/demo.taro.tsx index 9cefae570e..a8fab05c6c 100644 --- a/src/packages/configprovider/demo.taro.tsx +++ b/src/packages/configprovider/demo.taro.tsx @@ -11,17 +11,17 @@ import { useTranslate } from '@/sites/assets/locale/taro' const ConfigProviderDemo = () => { const [translated] = useTranslate({ 'zh-CN': { - text: 'Textarea 中文与英文', + text: 'Pagination 中文与英文', theme: '默认主题与定制主题', RTL: harmony() ? 'RTL【暂不支持】' : 'RTL', }, 'zh-TW': { - text: 'Textarea 中文与英文', + text: 'Pagination 中文与英文', theme: '默認主題与定制主題', RTL: harmony() ? 'RTL【暂不支持】' : 'RTL', }, 'en-US': { - text: 'Textarea zh-CN and en-US', + text: 'Pagination zh-CN and en-US', theme: 'Default Theme And Custom Theme', RTL: harmony() ? 'RTL[Pendding]' : 'RTL', }, diff --git a/src/packages/configprovider/demo.tsx b/src/packages/configprovider/demo.tsx index a1d768965f..38980809d7 100644 --- a/src/packages/configprovider/demo.tsx +++ b/src/packages/configprovider/demo.tsx @@ -7,15 +7,15 @@ import { useTranslate } from '@/sites/assets/locale' const ConfigProviderDemo = () => { const [translated] = useTranslate({ 'zh-CN': { - text: 'Textarea 中文与英文', + text: 'Pagination 中文与英文', theme: '默认主题与定制主题', }, 'zh-TW': { - text: 'Textarea 中文与英文', + text: 'Pagination 中文与英文', theme: '默認主題与定制主題', }, 'en-US': { - text: 'Textarea zh-CN and en-US', + text: 'Pagination zh-CN and en-US', theme: 'Default Theme And Custom Theme', }, }) diff --git a/src/packages/configprovider/demos/h5/demo2.tsx b/src/packages/configprovider/demos/h5/demo2.tsx index 5fadb894e9..c234bfb747 100644 --- a/src/packages/configprovider/demos/h5/demo2.tsx +++ b/src/packages/configprovider/demos/h5/demo2.tsx @@ -1,18 +1,18 @@ import React from 'react' -import { ConfigProvider, TextArea, Cell } from '@nutui/nutui-react' -import enUS from '@nutui/nutui-react/dist/es/locale/en-US' +import { ConfigProvider, Pagination, Cell } from '@nutui/nutui-react' +import enUS from '@nutui/nutui-react/dist/es/locales/en-US' const Demo = () => { return ( <> -