Skip to content

Commit f115274

Browse files
committed
feat(Compass): add isPill to Drawer by default
1 parent 2df092a commit f115274

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const Compass: React.FunctionComponent<CompassProps> = ({
9595

9696
if (hasDrawer) {
9797
return (
98-
<Drawer {...drawerProps}>
98+
<Drawer isPill {...drawerProps}>
9999
<DrawerContent panelContent={drawerContent}>
100100
<DrawerContentBody>{compassContent}</DrawerContentBody>
101101
</DrawerContent>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ exports[`Matches the snapshot with basic layout 1`] = `
4747
exports[`Matches the snapshot with drawer 1`] = `
4848
<DocumentFragment>
4949
<div
50-
class="pf-v6-c-drawer pf-m-expanded"
50+
class="pf-v6-c-drawer pf-m-expanded pf-m-pill"
5151
>
5252
<div
5353
class="pf-v6-c-drawer__main"

0 commit comments

Comments
 (0)