glitchier-soc/app/javascript/mastodon/features/ui/components/column_subheading.jsx

17 lines
294 B
React
Raw Normal View History

import React from 'react';
import PropTypes from 'prop-types';
const ColumnSubheading = ({ text }) => {
return (
<div className='column-subheading'>
{text}
</div>
);
};
ColumnSubheading.propTypes = {
text: PropTypes.string.isRequired,
};
export default ColumnSubheading;