diff --git a/README.md b/README.md index 90458fc3a46..03654a685f2 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,7 @@ https://uformjs.org ## Demo -https://codesandbox.io/s/245o92lnzy - +[codesandbox](https://codesandbox.io/s/o5up7) ## Community diff --git a/README.zh-cn.md b/README.zh-cn.md index a82693e6e1a..28c21dc2eb9 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -47,12 +47,11 @@ https://uformjs.org ## 入门案例 -https://codesandbox.io/s/245o92lnzy +[codesandbox](https://codesandbox.io/s/o5up7) ## 社区 - | Online Chat Room | 微信 | 钉钉 | | ------------------------------------------------------------ | ------------------------------------------------------------ | ---- | | [gitter.im](https://gitter.im/alibaba-uform/community?source=orgpage) | | | diff --git a/packages/antd/src/fields/textarea.js b/packages/antd/src/fields/textarea.js deleted file mode 100644 index b8b8d1cbe8a..00000000000 --- a/packages/antd/src/fields/textarea.js +++ /dev/null @@ -1,13 +0,0 @@ -import { connect, registerFormField } from '@uform/react' -import { Input } from 'antd' -import { acceptEnum, mapStyledProps, mapTextComponent } from '../utils' - -const { TextArea } = Input - -registerFormField( - 'textarea', - connect({ - getProps: mapStyledProps, - getComponent: mapTextComponent - })(acceptEnum(TextArea)) -) diff --git a/types/@uform/types.d.ts b/types/@uform/types.d.ts deleted file mode 100644 index 62198753293..00000000000 --- a/types/@uform/types.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export function isArr(p0: any): any; -export function isBool(obj: any): void; -export function isFn(obj: any): void; -export function isNum(obj: any): void; -export function isObj(val: any): void; -export function isPlainObj(obj: any): void; -export function isRegExp(obj: any): void; -export function isStr(obj: any): void;