diff options
Diffstat (limited to 'webapp/components/bootstrap_span.jsx')
-rw-r--r-- | webapp/components/bootstrap_span.jsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/webapp/components/bootstrap_span.jsx b/webapp/components/bootstrap_span.jsx deleted file mode 100644 index fb425594b..000000000 --- a/webapp/components/bootstrap_span.jsx +++ /dev/null @@ -1,22 +0,0 @@ -// 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; |