Skip to content

Commit

Permalink
fix(types): input 有 name 属性,close #1505
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Dec 14, 2018
1 parent 16a676a commit 7a7fdb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro-components/types/Input.d.ts
Expand Up @@ -133,6 +133,8 @@ interface InputProps extends StandardProps, FormItemProps {
* event.detail = {value: value}
*/
onConfirm?: BaseEventFunction

name?: string
}

declare const Input: ComponentType<InputProps>
Expand Down

0 comments on commit 7a7fdb0

Please sign in to comment.