mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
Merge branch 'master' of github.com:ant-design/ant-design
This commit is contained in:
commit
aa635b9132
@ -24,8 +24,4 @@ const Group: React.StatelessComponent<GroupProps> = (props) => {
|
||||
);
|
||||
};
|
||||
|
||||
Group.propTypes = {
|
||||
children: React.PropTypes.any,
|
||||
};
|
||||
|
||||
export default Group;
|
||||
|
@ -85,16 +85,12 @@ export default class Input extends Component<InputProps, any> {
|
||||
|
||||
nextFrameActionId: number;
|
||||
refs: {
|
||||
[key: string]: any;
|
||||
input: any;
|
||||
};
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
textareaStyles: null,
|
||||
};
|
||||
}
|
||||
state = {
|
||||
textareaStyles: null,
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
this.resizeTextarea();
|
||||
@ -173,7 +169,6 @@ export default class Input extends Component<InputProps, any> {
|
||||
|
||||
renderInput() {
|
||||
const props = assign({}, this.props);
|
||||
|
||||
// Fix https://fb.me/react-unknown-prop
|
||||
const otherProps = omit(this.props, [
|
||||
'prefixCls',
|
||||
|
Loading…
Reference in New Issue
Block a user