diff options
Diffstat (limited to 'app/assets/javascripts/components/features/ui')
-rw-r--r-- | app/assets/javascripts/components/features/ui/components/column_subheading.jsx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/column_subheading.jsx b/app/assets/javascripts/components/features/ui/components/column_subheading.jsx new file mode 100644 index 000000000..061c8be6c --- /dev/null +++ b/app/assets/javascripts/components/features/ui/components/column_subheading.jsx @@ -0,0 +1,15 @@ +import PropTypes from 'prop-types'; + +const ColumnSubheading = ({ text }) => { + return ( + <div className='column-subheading'> + {text} + </div> + ); + }; + +ColumnSubheading.propTypes = { + text: PropTypes.string.isRequired, +}; + +export default ColumnSubheading; |