add React.CSSProperties type annotation to SidebarProvider style example

This commit is contained in:
Romeu Maleiane
2026-02-09 00:21:17 +02:00
parent ba9206bded
commit 87d522f249
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ For multiple sidebars in your application, you can use the `--sidebar-width` and
style={{
"--sidebar-width": "20rem",
"--sidebar-width-mobile": "20rem",
}}
} as React.CSSProperties}
>
<Sidebar />
</SidebarProvider>

View File

@@ -151,7 +151,7 @@ For multiple sidebars in your application, you can use the `--sidebar-width` and
style={{
"--sidebar-width": "20rem",
"--sidebar-width-mobile": "20rem",
}}
} as React.CSSProperties}
>
<Sidebar />
</SidebarProvider>