Replacement for Item Pickup Component

In the new Custom Items & Inventory system, the item pickup interactable component for custom entity prefab has been removed; does anyone have a workaround for this to add the item to inventory?

It got deprecated in version 39.30. You’re expected to use an interactable_component subclass instead. You can read more here. You can also watch the build along stream on YouTube to learn the full workflow.