未验证 提交 5877ec97 编写于 作者: K Kwan 提交者: GitHub

docs: 修复部分演示组件的文案显示问题 (#419)

上级 f802ffbb
......@@ -47,7 +47,7 @@ const DividerDemo = () => {
<Cell>
<Divider>{translated.text}</Divider>
</Cell>
<h2>{translated.withText}</h2>
<h2>{translated.contentPosition}</h2>
<Cell>
<Divider contentPosition="left">{translated.text}</Divider>
</Cell>
......
......@@ -49,7 +49,7 @@ const DividerDemo = () => {
<Divider>{translated.text}</Divider>
</Cell>
<h2>{translated.withText}</h2>
<h2>{translated.contentPosition}</h2>
<Cell>
<Divider contentPosition="left">{translated.text}</Divider>
</Cell>
......
......@@ -12,8 +12,8 @@ const LayoutDemo = () => {
const [translated] = useTranslate<TLayoutDemo>({
'zh-CN': {
title1: '基础布局',
title2: '搜索框形状及最大长度',
title3: '搜索框内外背景设置',
title2: '分栏间隔',
title3: 'Flex布局',
},
'zh-TW': {
title1: '基礎佈局',
......
......@@ -14,8 +14,8 @@ const LayoutDemo = () => {
const [translated] = useTranslate<TLayoutDemo>({
'zh-CN': {
title1: '基础布局',
title2: '搜索框形状及最大长度',
title3: '搜索框内外背景设置',
title2: '分栏间隔',
title3: 'Flex布局',
},
'zh-TW': {
title1: '基礎佈局',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册