Skip to content

Commit

Permalink
fix: Added translation for slideInForm and text
Browse files Browse the repository at this point in the history
  • Loading branch information
vasmohi committed Jul 16, 2024
1 parent e1019f4 commit 446746c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/component/src/Slider/demos/slideInForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const App: React.FC = () => {
onFinish={onFinish}
onFinishFailed={onFinishFailed}
>
<Form.Item>结合表单验证</Form.Item>
<Form.Item>Combined with form validation</Form.Item>
<Form.Item
label="username"
name="username"
Expand Down
2 changes: 1 addition & 1 deletion packages/component/src/Switch/demos/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Space } from 'antd';

const App: React.FC = () => (
<Space direction="vertical">
<Switch checkedChildren="开启" unCheckedChildren="关闭" defaultChecked />
<Switch checkedChildren="turn on" unCheckedChildren="closure" defaultChecked />
<Switch checkedChildren="1" unCheckedChildren="0" />
<Switch
checkedChildren={<CheckOutlined style={{ fontSize: '18px' }} />}
Expand Down

0 comments on commit 446746c

Please sign in to comment.