Skip to content

Commit 580369f

Browse files
committed
RG-2420 chore: undeprecate "Badge" in 6.x version
1 parent 76b9900 commit 580369f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/badge/badge.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {PureComponent, HTMLAttributes} from 'react';
22
import PropTypes from 'prop-types';
33
import classNames from 'classnames';
4-
import deprecate from 'util-deprecate';
54

65
import dataTests from '../global/data-tests';
76

@@ -15,8 +14,6 @@ export interface BadgeProps extends HTMLAttributes<HTMLElement> {
1514
'data-test'?: string | null | undefined
1615
}
1716

18-
const warn = deprecate(() => {}, 'Badge is deprecated and will be removed in RingUI 7.0. Use Tag instead.');
19-
2017
/**
2118
* @name Badge
2219
*/
@@ -33,7 +30,6 @@ export default class Badge extends PureComponent<BadgeProps> {
3330
};
3431

3532
render() {
36-
warn();
3733
const {
3834
// Modifiers
3935
gray,

0 commit comments

Comments
 (0)