diff --git a/packages/terra-pills/src/subcomponents/_Pill.jsx b/packages/terra-pills/src/subcomponents/_Pill.jsx index b1aa2cc594..9171afb153 100644 --- a/packages/terra-pills/src/subcomponents/_Pill.jsx +++ b/packages/terra-pills/src/subcomponents/_Pill.jsx @@ -52,15 +52,6 @@ const propTypes = { * to be used in addition with a popup. */ title: PropTypes.string, - - /** - * Adds a header with close button to the popup. - */ - showPopupHeader: PropTypes.boolean, -}; - -const defaultProps = { - showPopupHeader: true, }; const Pill = (props) => { @@ -73,7 +64,6 @@ const Pill = (props) => { onRemove, title, onSelect, - showPopupHeader, ...customProps } = props; @@ -217,7 +207,6 @@ const Pill = (props) => { targetRef={getPillRef} onRequestClose={handleOnRequestClose} contentHeight="auto" - isHeaderDisabled={!showPopupHeader} >
{labelCategory @@ -306,6 +295,4 @@ const Pill = (props) => { }; Pill.propTypes = propTypes; -Pill.defaultProps = defaultProps; - export default injectIntl(Pill); diff --git a/packages/terra-popup/tests/jest/__snapshots__/Popup.test.jsx.snap b/packages/terra-popup/tests/jest/__snapshots__/Popup.test.jsx.snap index 486a8c66c5..797b0d2138 100644 --- a/packages/terra-popup/tests/jest/__snapshots__/Popup.test.jsx.snap +++ b/packages/terra-popup/tests/jest/__snapshots__/Popup.test.jsx.snap @@ -3,8 +3,8 @@ exports[`correctly applies the theme context className 1`] = ` [Function] @@ -302,7 +302,7 @@ exports[`correctly applies the theme context className 1`] = ` >