Skip to content

Commit

Permalink
docs(docs): update docs package name
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Jun 7, 2019
1 parent bf4b9e4 commit 451f44d
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions docs/API/FormPath.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type FormPath {
## 依赖

```javascript
import {FormPath} from '@alife/uform'
import {FormPath} from '@uform/core'
```

## Pattern路径匹配语法
Expand Down Expand Up @@ -70,7 +70,7 @@ import {FormPath} from '@alife/uform'
## 用例

```javascript
import {FormPath} from '@alife/uform'
import {FormPath} from '@uform/core'

FormPath.match('aa')('aa') // true
FormPath.match('*')('aa') //true
Expand Down
4 changes: 2 additions & 2 deletions docs/API/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ type connect({
## 依赖

```javascript
import {connect} from '@alife/rs-uform'
import {connect} from '@uform/react'
```

## 用例

```javascript
import {registerFormField,connect} from '@alife/rs-uform'
import {registerFormField,connect} from '@uform/react'

registerFormField(
'string',
Expand Down
2 changes: 1 addition & 1 deletion docs/API/createForm.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type createForm({
## 依赖

```javascript
import {createForm} from '@alife/uform'
import {createForm} from '@uform/core'
```

## API
Expand Down
4 changes: 2 additions & 2 deletions docs/API/createVirtualBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type createVirtualBox(name : String,component : Function)
## 依赖

```javascript
import {createVirtualBox} from '@alife/rs-uform'
import {createVirtualBox} from '@uform/react'
```

## 用例

```javascript
import {createVirtualBox,SchemaForm} from '@alife/rs-uform'
import {createVirtualBox,SchemaForm} from '@uform/react'
const Card = createVirtualBox('card',(props)=>{
return <div>这是一个卡片{props.children}</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/API/setValidationLanguage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ type setValidationLanguage(lang : String)
## 依赖

```javascript
import {setValidationLanguage} from '@alife/uform'
import {setValidationLanguage} from '@uform/core'
```

## 用例

```javascript
import {setValidationLanguage} from '@alife/uform'
import {setValidationLanguage} from '@uform/core'
setValidationLanguage("en")
```
2 changes: 1 addition & 1 deletion docs/API/setValidationLocale.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type setValidationLocale({
## 依赖

```javascript
import {setValidationLocale} from '@alife/uform'
import {setValidationLocale} from '@uform/core'
```

## 默认配置
Expand Down
2 changes: 1 addition & 1 deletion docs/statics/bundle.31.c2d30637cb93c79d92e3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/statics/bundle.35.c2d30637cb93c79d92e3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 451f44d

Please sign in to comment.