mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56: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;
|
export default Group;
|
||||||
|
@ -85,16 +85,12 @@ export default class Input extends Component<InputProps, any> {
|
|||||||
|
|
||||||
nextFrameActionId: number;
|
nextFrameActionId: number;
|
||||||
refs: {
|
refs: {
|
||||||
[key: string]: any;
|
|
||||||
input: any;
|
input: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
constructor(props) {
|
state = {
|
||||||
super(props);
|
textareaStyles: null,
|
||||||
this.state = {
|
};
|
||||||
textareaStyles: null,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.resizeTextarea();
|
this.resizeTextarea();
|
||||||
@ -173,7 +169,6 @@ export default class Input extends Component<InputProps, any> {
|
|||||||
|
|
||||||
renderInput() {
|
renderInput() {
|
||||||
const props = assign({}, this.props);
|
const props = assign({}, this.props);
|
||||||
|
|
||||||
// Fix https://fb.me/react-unknown-prop
|
// Fix https://fb.me/react-unknown-prop
|
||||||
const otherProps = omit(this.props, [
|
const otherProps = omit(this.props, [
|
||||||
'prefixCls',
|
'prefixCls',
|
||||||
|
Loading…
Reference in New Issue
Block a user