<RichTreeViewPro
  items={MUI_X_PRODUCTS}
  itemsReordering
  defaultExpandedItems={['grid', 'pickers']}
  experimentalFeatures={{
    itemsReordering: true,
  }}
  apiRef={apiRef}
  isItemReorderable={(itemId) =>
    apiRef.current!.getItemOrderedChildrenIds(itemId).length === 0
  }
/>