From 6e2f9e9529de6f534954c57182b615201c1ffc9b Mon Sep 17 00:00:00 2001 From: Julian Kobrynski Date: Tue, 31 Oct 2023 16:34:10 +0100 Subject: [PATCH] remove unused TextPill.js file --- src/components/TextPill.js | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/components/TextPill.js diff --git a/src/components/TextPill.js b/src/components/TextPill.js deleted file mode 100644 index 81bb0ca1e037..000000000000 --- a/src/components/TextPill.js +++ /dev/null @@ -1,38 +0,0 @@ -import PropTypes from 'prop-types'; -import React from 'react'; -import stylePropTypes from '@styles/stylePropTypes'; -import styles from '@styles/styles'; -import * as StyleUtils from '@styles/StyleUtils'; -import Text from './Text'; - -const propTypes = { - text: PropTypes.string.isRequired, - - /** Text additional style */ - style: stylePropTypes, -}; - -const defaultProps = { - style: [], -}; - -function TextPill(props) { - const propsStyle = StyleUtils.parseStyleAsArray(props.style); - - return ( - - {props.text} - - ); -} - -TextPill.propTypes = propTypes; -TextPill.defaultProps = defaultProps; -TextPill.displayName = 'TextPill'; - -export default TextPill;