We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5499bd commit 060e6fdCopy full SHA for 060e6fd
packages/blend/lib/components/Sidebar/SidebarHeader.tsx
@@ -11,7 +11,9 @@ import type { SidebarMerchantInfo } from './types'
11
import { useResponsiveTokens } from '../../hooks/useResponsiveTokens'
12
import type { SidebarTokenType } from './sidebar.tokens'
13
14
-const ToggleButton = styled.button<{ tokens: SidebarTokenType }>`
+const ToggleButton = styled.button.withConfig({
15
+ shouldForwardProp: (prop) => prop !== 'tokens',
16
+})<{ tokens: SidebarTokenType }>`
17
display: flex;
18
align-items: center;
19
justify-content: center;
0 commit comments