diff --git a/docs/data/base/components/tabs/tabs.md b/docs/data/base/components/tabs/tabs.md index cc671c1b4f0d9a..263d66599bb93b 100644 --- a/docs/data/base/components/tabs/tabs.md +++ b/docs/data/base/components/tabs/tabs.md @@ -28,8 +28,6 @@ Tabs are implemented using a collection of related components: ## Components -### Usage - ```jsx import { Tab } from '@mui/base/Tab'; import { TabsList } from '@mui/base/TabsList'; @@ -94,7 +92,8 @@ When vertical, you must set `orientation="vertical"` on the `` component ### Usage with TypeScript -In TypeScript, you can specify the custom component type used in the `slots.root` as a generic parameter of the unstyled component. This way, you can safely provide the custom root's props directly on the component: +In TypeScript, you can specify the custom component type used in the `slots.root` as a generic parameter of the unstyled component. +This way, you can safely provide the custom root's props directly on the component: ```tsx slots={{ root: CustomComponent }} customProp />