Skip to content

Commit

Permalink
change autosize to autoSize
Browse files Browse the repository at this point in the history
  • Loading branch information
docoder committed Feb 17, 2020
1 parent 2aaf322 commit e2ee41b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ant-colony-ui",
"version": "1.7.19",
"version": "1.7.20",
"description": "Ant Colony UI Toolkit based on Ant Design and React",
"author": "docoder",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/UI/Form/index.js
Expand Up @@ -211,7 +211,7 @@ class Form extends React.Component {
maxRows = item.meta.maxRows || maxRows;
}
return (
<TextArea onChange={(...args)=>{this.itemOnChange(item,...args)}} disabled={itemDisabled} placeholder={itemPlaceholder} autosize={{ minRows, maxRows }} />
<TextArea onChange={(...args)=>{this.itemOnChange(item,...args)}} disabled={itemDisabled} placeholder={itemPlaceholder} autoSize={{ minRows, maxRows }} />
);
case 'codeEditor':
return (
Expand Down

0 comments on commit e2ee41b

Please sign in to comment.