Skip to content

Commit

Permalink
keep tracking component but show deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane98c committed Feb 4, 2025
1 parent de6d3e4 commit 862491d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ export { default as Table } from './table'
export { default as TableCaption } from './table-caption'
export { default as Tag } from './tag'
export { default as Toggle } from './toggle'
export { default as Tracking } from './tracking'
export { default as Tray } from './tray'
export { formatDate, getScrollbarWidth, useScrollbarClass } from './utils'
6 changes: 6 additions & 0 deletions src/tracking.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const Tracking = ({ id }) => {
console.warn('The Tracking component is deprecated')
return null
}

export default Tracking

0 comments on commit 862491d

Please sign in to comment.