Uma Ilango
Uma Ilango

Reputation: 978

"Panel" is not exported by @base-ui-components/react/tabs

I am new to React. I have started to work in an existing project! Therefore have more challenges to fix the existing deprecations.

Since https://www.npmjs.com/package/@mui/base is deprecated. I tried to change it to @base-ui-components/react as recommended by npmjs. However, there are few components that I am unable to import.

  1. import { TabPanel as MuiTabPanel } from '@mui/base/TabPanel';
  2. import { TabsList as MuiTabsList } from '@mui/base/TabsList';

I am using Tabs, Tab, TabPanel & TabsList from @mui/base. I am trying to add these now via @base-ui-components/react/tabs

When I looked into node_modules/@base-ui-components/react/tabs, I see that these modules are available. However, they are not public! I think so!

Can someone help me how to import these modules in my project?

Upvotes: 0

Views: 12

Answers (0)

Related Questions