Skip to content

Commit 2a14fdc

Browse files
committed
(PDS-566) remove commented out code and add description to prop
1 parent 0a7c31b commit 2a14fdc

File tree

1 file changed

+1
-6
lines changed
  • packages/react-components/source/react/library/tag

1 file changed

+1
-6
lines changed

packages/react-components/source/react/library/tag/Tag.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const propTypes = {
1515
emphasis: oneOf(['bold', 'subtle']),
1616
/** Optional additional classnames */
1717
className: string,
18+
/** Boolean to hide/show close button */
1819
hideRemoveButton: bool,
1920
};
2021

@@ -67,9 +68,3 @@ Tag.propTypes = propTypes;
6768
Tag.defaultProps = defaultProps;
6869

6970
export default Tag;
70-
71-
// <div
72-
// className={classNames({
73-
// '.rc-tag-border': !hideRemoveButton,
74-
// })}
75-
// >

0 commit comments

Comments
 (0)