16 lines
267 B
React
16 lines
267 B
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;
|