blob: fb425594b635055fe6760ee1e4120557ca65dbb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import React from 'react';
import PropTypes from 'prop-types';
class BootstrapSpan extends React.PureComponent {
static propTypes = {
children: PropTypes.element
}
render() {
const {children, ...props} = this.props;
delete props.bsRole;
delete props.bsClass;
return <span {...props}>{children}</span>;
}
}
export default BootstrapSpan;
|