You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
452 B
21 lines
452 B
9 years ago
|
import React from 'react';
|
||
|
import classNames from 'classnames';
|
||
|
|
||
|
export default class Group extends React.Component {
|
||
|
static propTypes = {
|
||
|
children: React.PropTypes.any,
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
const className = classNames({
|
||
|
'ant-input-group': true,
|
||
|
[this.props.className]: !!this.props.className,
|
||
|
});
|
||
|
return (
|
||
|
<span className={className} style={this.props.style}>
|
||
|
{this.props.children}
|
||
|
</span>
|
||
|
);
|
||
|
}
|
||
|
}
|