mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-16 11:45:19 +00:00
17 lines
294 B
JavaScript
17 lines
294 B
JavaScript
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;
|