Skip to content

Commit a6b3f18

Browse files
committed
add isPill to CompassContent Drawer
1 parent f115274 commit a6b3f18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-core/src/components/Compass/CompassContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const CompassContent: React.FunctionComponent<CompassContentProps> = ({
3030

3131
if (hasDrawer) {
3232
return (
33-
<Drawer {...drawerProps}>
33+
<Drawer isPill {...drawerProps}>
3434
<DrawerContent panelContent={drawerContent}>{compassContent}</DrawerContent>
3535
</Drawer>
3636
);

packages/react-core/src/components/Compass/__tests__/__snapshots__/CompassContent.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`Matches the snapshot with drawer 1`] = `
44
<DocumentFragment>
55
<div
6-
class="pf-v6-c-drawer pf-m-expanded"
6+
class="pf-v6-c-drawer pf-m-expanded pf-m-pill"
77
>
88
<div
99
class="pf-v6-c-drawer__main"

0 commit comments

Comments
 (0)