diff --git a/app/javascript/mastodon/features/ui/components/column_subheading.jsx b/app/javascript/mastodon/features/ui/components/column_subheading.jsx deleted file mode 100644 index e970a0bfdd..0000000000 --- a/app/javascript/mastodon/features/ui/components/column_subheading.jsx +++ /dev/null @@ -1,15 +0,0 @@ -import PropTypes from 'prop-types'; - -const ColumnSubheading = ({ text }) => { - return ( -
- {text} -
- ); -}; - -ColumnSubheading.propTypes = { - text: PropTypes.string.isRequired, -}; - -export default ColumnSubheading; diff --git a/app/javascript/mastodon/features/ui/components/column_subheading.tsx b/app/javascript/mastodon/features/ui/components/column_subheading.tsx new file mode 100644 index 0000000000..655cfe1da9 --- /dev/null +++ b/app/javascript/mastodon/features/ui/components/column_subheading.tsx @@ -0,0 +1,11 @@ +import React from 'react'; + +interface Props { + text: string; +} + +const ColumnSubheading: React.FC = ({ text }) => { + return
{text}
; +}; + +export default ColumnSubheading;