From a97986a3997aee07a0396fe0c19ad3e1e99de2c1 Mon Sep 17 00:00:00 2001 From: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com> Date: Tue, 5 Sep 2023 23:19:51 -0500 Subject: [PATCH] tabs --- docs/data/base/components/tabs/tabs.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 />