Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed May 21, 2022
1 parent cf0bfcd commit 4a4cc93
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.en-US.md
Expand Up @@ -38,7 +38,7 @@ Current ProComponents provides the following components for direct use.
Each package is a separate component package, and is used in the following example.

```tsx
import ProForm, { ProFormText } from '@ant-design/pro-components';
import { ProForm, ProFormText } from '@ant-design/pro-components';
import React from 'react';

export default () => {
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Expand Up @@ -38,7 +38,7 @@ $ npm i @ant-design/pro-components --save
每一个包都是一个独立的组件包,使用示例如下 :

```tsx
import ProForm, { ProFormText } from '@ant-design/pro-components';
import { ProForm, ProFormText } from '@ant-design/pro-components';
import React from 'react';

export default () => {
Expand Down
6 changes: 3 additions & 3 deletions docs/schema.md
Expand Up @@ -287,7 +287,7 @@ const valueEnum = {
```

```tsx
import { ProFormSelect } from '@ant-design/pro-form';
import { ProFormSelect } from '@ant-design/pro-components';
import React from 'react';

const valueEnum = {
Expand Down Expand Up @@ -365,7 +365,7 @@ const columns = [
```

```tsx
import { ProFormSelect } from '@ant-design/pro-form';
import { ProFormSelect } from '@ant-design/pro-components';
import React from 'react';

const options = [
Expand Down Expand Up @@ -435,7 +435,7 @@ const columns = [
```

```tsx
import ProForm, { ProFormSelect, ProFormText } from '@ant-design/pro-form';
import { ProForm, ProFormSelect, ProFormText } from '@ant-design/pro-components';
import React from 'react';

const request = async (params) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/form/dependency.test.tsx
@@ -1,4 +1,4 @@
import ProForm, { ProFormDependency, ProFormText } from '@ant-design/pro-form';
import { ProForm, ProFormDependency, ProFormText } from '@ant-design/pro-components';
import { mount } from 'enzyme';
import { act } from 'react-dom/test-utils';
import { waitForComponentToPaint } from '../util';
Expand Down

0 comments on commit 4a4cc93

Please sign in to comment.