gab-social/app/javascript/gabsocial/components/display_name_badge.js
2019-07-02 03:10:25 -04:00

17 lines
368 B
JavaScript

import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
export default class DisplayNameBadge extends React.PureComponent {
static propTypes = {
label: PropTypes.string,
};
render() {
const { label } = this.props;
return <span className="display-name__badge">{label}</span>;
}
}