client/src/components/common/LabelItem.js
import React from 'react';
import { Label } from 'reactstrap';
import PropTypes from 'prop-types';
const LabelItem = ({ content }) => {
return <Label>{content}</Label>;
};
LabelItem.propTypes = {
content: PropTypes.string.isRequired,
};
export default LabelItem;