Skip to content

Commit de9b07d

Browse files
committed
删除 WaterMark 组件的中英文文档,更新登录表单、浮层表单和筛选表单的基础用法示例,优化文档结构以提升可读性。
1 parent 4f42aab commit de9b07d

File tree

10 files changed

+0
-225
lines changed

10 files changed

+0
-225
lines changed

site/components/layout/WaterMark/index.en-US.md

Lines changed: 0 additions & 83 deletions
This file was deleted.

site/components/layout/WaterMark/index.md

Lines changed: 0 additions & 83 deletions
This file was deleted.

site/components/login-form/index.en-US.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ LoginForm/Page - Login Form is a powerful component suitable for the following s
1919

2020
## Code Examples
2121

22-
### Basic Usage
2322

24-
```tsx
25-
import { LoginFormPage } from '@ant-design/pro-components';
26-
27-
export default () => {
28-
return <LoginForm/Page />;
29-
};
30-
```
3123

3224
## API
3325

site/components/login-form/index.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ LoginForm/Page - 登录表单 是一个功能强大的组件,适用于以下
1919

2020
## 代码演示
2121

22-
### 基础用法
2322

24-
```tsx
25-
import { LoginForm/Page } from '@ant-design/pro-components';
26-
27-
export default () => {
28-
return <LoginForm/Page />;
29-
};
30-
```
3123

3224
## API
3325

site/components/modal-form/index.en-US.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ Modal/Drawer - Modal Form is a powerful component suitable for the following sce
1919

2020
## Code Examples
2121

22-
### Basic Usage
2322

24-
```tsx
25-
import { Modal/Drawer } from '@ant-design/pro-components';
26-
27-
export default () => {
28-
return <Modal/Drawer />;
29-
};
30-
```
3123

3224
## API
3325

site/components/modal-form/index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ Modal/Drawer - 浮层表单 是一个功能强大的组件,适用于以下场
2121

2222
### 基础用法
2323

24-
```tsx
25-
import { Modal/Drawer } from '@ant-design/pro-components';
26-
27-
export default () => {
28-
return <Modal/Drawer />;
29-
};
30-
```
3124

3225
## API
3326

site/components/query-filter/index.en-US.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ Query/LightFilter - Filter Form is a powerful component suitable for the followi
2121

2222
### Basic Usage
2323

24-
```tsx
25-
import { Query/LightFilter } from '@ant-design/pro-components';
2624

27-
export default () => {
28-
return <Query/LightFilter />;
29-
};
30-
```
3125

3226
## API
3327

site/components/query-filter/index.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ Query/LightFilter - 筛选表单 是一个功能强大的组件,适用于以
2121

2222
### 基础用法
2323

24-
```tsx
25-
import { Query/LightFilter } from '@ant-design/pro-components';
26-
27-
export default () => {
28-
return <Query/LightFilter />;
29-
};
30-
```
31-
3224
## API
3325

3426
| 参数 | 说明 | 类型 | 默认值 |

site/components/schema/index.en-US.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ Schema is a universal configuration system for defining and managing component c
2121
- When you need to implement configuration-driven interfaces
2222
- When you need to support runtime configuration modifications
2323

24-
## Code Demo
25-
26-
<code src="../../../demos/form/SchemaForm/basic.tsx" background="var(--main-bg-color)" title="Basic Usage" description="Use Schema configuration to generate forms"></code>
27-
28-
<code src="../../../demos/form/SchemaForm/dependency.tsx" background="var(--main-bg-color)" title="Dependency Configuration" description="Schema supports dependency relationship configuration between fields"></code>
29-
30-
<code src="../../../demos/form/SchemaForm/customization-value-type.tsx" background="var(--main-bg-color)" title="Custom Value Types" description="You can customize field value types and rendering methods"></code>
3124

3225
## API
3326

site/components/schema/index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ Schema 是一个通用的配置系统,用于定义和管理组件的配置结
2121
- 需要实现配置驱动的界面时
2222
- 需要支持运行时配置修改时
2323

24-
## 代码演示
25-
26-
<code src="../../../demos/form/SchemaForm/basic.tsx" background="var(--main-bg-color)" title="基础用法" description="使用 Schema 配置来生成表单"></code>
27-
28-
<code src="../../../demos/form/SchemaForm/dependency.tsx" background="var(--main-bg-color)" title="依赖配置" description="Schema 支持字段间的依赖关系配置"></code>
29-
30-
<code src="../../../demos/form/SchemaForm/customization-value-type.tsx" background="var(--main-bg-color)" title="自定义值类型" description="可以自定义字段的值类型和渲染方式"></code>
3124

3225
## API
3326

0 commit comments

Comments
 (0)