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 c1495ea commit f34f9a8Copy full SHA for f34f9a8
2 files changed
src/components/Drawer/DrawerItem.tsx
@@ -107,7 +107,7 @@ const DrawerItem = ({
107
? isV3
108
? theme.colors.secondaryContainer
109
: color(theme.colors.primary).alpha(0.12).rgb().string()
110
- : 'transparent';
+ : undefined;
111
const contentColor = active
112
113
? theme.colors.onSecondaryContainer
src/components/__tests__/__snapshots__/DrawerItem.test.tsx.snap
@@ -44,7 +44,7 @@ exports[`renders DrawerItem with icon 1`] = `
44
"marginVertical": 4,
45
},
46
{
47
- "backgroundColor": "transparent",
+ "backgroundColor": undefined,
48
"borderRadius": 28,
49
50
@@ -376,7 +376,7 @@ exports[`renders basic DrawerItem 1`] = `
376
377
378
379
380
381
382
0 commit comments